linux-packaging-mono/external/llvm/test/CodeGen/X86/xray-empty-firstmbb.mir
Xamarin Public Jenkins (auto-signing) e19d552987 Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
2018-10-19 08:34:24 +00:00

24 lines
431 B
YAML

# RUN: llc -run-pass xray-instrumentation -mtriple=x86_64-unknown-linux-gnu -o - %s | FileCheck %s
#
# Make sure we can handle empty first basic blocks.
--- |
define i32 @foo() noinline uwtable "xray-instruction-threshold"="1" {
entry:
unreachable
}
...
---
name: foo
tracksRegLiveness: true
liveins:
- { reg: '%edi'}
body: |
bb.0.entry:
liveins: %edi
; CHECK-NOT: PATCHABLE_FUNCTION_ENTER
...