From 43e94b15ea0c180ebb0fd3e6b697dac4564aaf60 Mon Sep 17 00:00:00 2001 From: Puyan Lotfi Date: Wed, 31 Jan 2018 22:04:26 +0000 Subject: 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 --- llvm/unittests/CodeGen/MachineInstrTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/unittests/CodeGen/MachineInstrTest.cpp') diff --git a/llvm/unittests/CodeGen/MachineInstrTest.cpp b/llvm/unittests/CodeGen/MachineInstrTest.cpp index b1aa16e..c0da2c3 100644 --- a/llvm/unittests/CodeGen/MachineInstrTest.cpp +++ b/llvm/unittests/CodeGen/MachineInstrTest.cpp @@ -264,7 +264,7 @@ TEST(MachineInstrPrintingTest, DebugLocPrinting) { raw_string_ostream OS(str); MI->print(OS); ASSERT_TRUE( - StringRef(OS.str()).startswith("%noreg = UNKNOWN debug-location ")); + StringRef(OS.str()).startswith("$noreg = UNKNOWN debug-location ")); } } // end namespace -- cgit v1.1