summaryrefslogtreecommitdiff
path: root/test/CodeGen/PowerPC
diff options
context:
space:
mode:
authorFrancis Visoiu Mistrih <francisvm@yahoo.com>2017-11-30 16:12:24 +0000
committerFrancis Visoiu Mistrih <francisvm@yahoo.com>2017-11-30 16:12:24 +0000
commite6b89910eb5c0a89e5bbdd8ceb3b6394efe6dabc (patch)
tree2888ae660f4d6f45df7a663e14a0187a37679326 /test/CodeGen/PowerPC
parent4a8c2b625b7ed7d95e349cdd45ff6a3df0771bc5 (diff)
[CodeGen] Always use `printReg` to print registers in both MIR and debug
output As part of the unification of the debug format and the MIR format, always use `printReg` to print all kinds of registers. Updated the tests using '_' instead of '%noreg' until we decide which one we want to be the default one. Differential Revision: https://reviews.llvm.org/D40421 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@319445 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC')
-rw-r--r--test/CodeGen/PowerPC/cxx_tlscc64.ll2
-rw-r--r--test/CodeGen/PowerPC/debuginfo-split-int.ll4
-rw-r--r--test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll2
3 files changed, 4 insertions, 4 deletions
diff --git a/test/CodeGen/PowerPC/cxx_tlscc64.ll b/test/CodeGen/PowerPC/cxx_tlscc64.ll
index 0f45652cd29..cfa243f200a 100644
--- a/test/CodeGen/PowerPC/cxx_tlscc64.ll
+++ b/test/CodeGen/PowerPC/cxx_tlscc64.ll
@@ -40,4 +40,4 @@ define cxx_fast_tlscc i32* @_ZTW4sum2() #0 {
ret i32* @sum1
}
-attributes #0 = { nounwind "no-frame-pointer-elim"="true" } \ No newline at end of file
+attributes #0 = { nounwind "no-frame-pointer-elim"="true" }
diff --git a/test/CodeGen/PowerPC/debuginfo-split-int.ll b/test/CodeGen/PowerPC/debuginfo-split-int.ll
index 4bcf43c9dae..e6f0ee20208 100644
--- a/test/CodeGen/PowerPC/debuginfo-split-int.ll
+++ b/test/CodeGen/PowerPC/debuginfo-split-int.ll
@@ -27,9 +27,9 @@ target triple = "ppc32"
;
; High 32 bits in R3, low 32 bits in R4
; CHECK: %0:gprc = COPY %r3
-; CHECK: DBG_VALUE debug-use %0, debug-use _, [[DL]], !DIExpression(DW_OP_LLVM_fragment, 0, 32)
+; CHECK: DBG_VALUE debug-use %0, debug-use %noreg, [[DL]], !DIExpression(DW_OP_LLVM_fragment, 0, 32)
; CHECK: %1:gprc = COPY %r4
-; CHECK: DBG_VALUE debug-use %1, debug-use _, [[DL]], !DIExpression(DW_OP_LLVM_fragment, 32, 32)
+; CHECK: DBG_VALUE debug-use %1, debug-use %noreg, [[DL]], !DIExpression(DW_OP_LLVM_fragment, 32, 32)
define void @bar() local_unnamed_addr #0 !dbg !6 {
%1 = alloca i64, align 8
%2 = tail call i64 @foo()
diff --git a/test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll b/test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll
index c8435a97b79..740bc787ec9 100644
--- a/test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll
+++ b/test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll
@@ -18,4 +18,4 @@ declare i32 @printf(i8* nocapture readonly, ...) #0
attributes #0 = { "use-soft-float"="true" }
- \ No newline at end of file
+