[llvm] r316012 - [ARM, AArch64] adjust tests trying to maintain their objective; NFC
Sanjay Patel via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 17 09:54:56 PDT 2017
Author: spatel
Date: Tue Oct 17 09:54:56 2017
New Revision: 316012
URL: http://llvm.org/viewvc/llvm-project?rev=316012&view=rev
Log:
[ARM, AArch64] adjust tests trying to maintain their objective; NFC
A smarter compiler will see that these might be better without a jump table
if we're just using the constant values of the switch.
Modified:
llvm/trunk/test/CodeGen/AArch64/arm64-jumptable.ll
llvm/trunk/test/MC/ARM/data-in-code.ll
Modified: llvm/trunk/test/CodeGen/AArch64/arm64-jumptable.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/arm64-jumptable.ll?rev=316012&r1=316011&r2=316012&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/AArch64/arm64-jumptable.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/arm64-jumptable.ll Tue Oct 17 09:54:56 2017
@@ -21,7 +21,7 @@ bb3:
store i32 3, i32* %to
br label %exit
bb4:
- store i32 4, i32* %to
+ store i32 5, i32* %to
br label %exit
exit:
ret void
Modified: llvm/trunk/test/MC/ARM/data-in-code.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/ARM/data-in-code.ll?rev=316012&r1=316011&r2=316012&view=diff
==============================================================================
--- llvm/trunk/test/MC/ARM/data-in-code.ll (original)
+++ llvm/trunk/test/MC/ARM/data-in-code.ll Tue Oct 17 09:54:56 2017
@@ -27,7 +27,7 @@ bb2:
store i32 2, i32* %ptr, align 4
br label %exit
bb3:
- store i32 3, i32* %ptr, align 4
+ store i32 4, i32* %ptr, align 4
br label %exit
exit:
ret void
More information about the llvm-commits
mailing list