Files
clang-p2996/llvm/test/CodeGen/X86/xray-empty-firstmbb.mir
Puyan Lotfi 43e94b15ea Followup on Proposal to move MIR physical register namespace to '$' sigil.
Discussed here:

http://lists.llvm.org/pipermail/llvm-dev/2018-January/120320.html

In preparation for adding support for named vregs we are changing the sigil for
physical registers in MIR to '$' from '%'. This will prevent name clashes of
named physical register with named vregs.

llvm-svn: 323922
2018-01-31 22:04:26 +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
...