[llvm] r262620 - Making rem_crash.ll target-specific
Renato Golin via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 06:01:11 PST 2016
Author: rengolin
Date: Thu Mar 3 08:01:10 2016
New Revision: 262620
URL: http://llvm.org/viewvc/llvm-project?rev=262620&view=rev
Log:
Making rem_crash.ll target-specific
This test failed in some ARM bots after a divmod change because it was
running on a native llc, instead of targeted one. This makes sure the test
is target-specific (as intended), and also copies to ARM and AArch64
directories. If it is also supposed to work on other architectures, I'll
leave as an exercise to the respective maintainers.
Added:
llvm/trunk/test/CodeGen/AArch64/rem_crash.ll
- copied, changed from r262594, llvm/trunk/test/CodeGen/X86/rem_crash.ll
llvm/trunk/test/CodeGen/ARM/rem_crash.ll
- copied, changed from r262594, llvm/trunk/test/CodeGen/X86/rem_crash.ll
Modified:
llvm/trunk/test/CodeGen/X86/rem_crash.ll
Copied: llvm/trunk/test/CodeGen/AArch64/rem_crash.ll (from r262594, llvm/trunk/test/CodeGen/X86/rem_crash.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/AArch64/rem_crash.ll?p2=llvm/trunk/test/CodeGen/AArch64/rem_crash.ll&p1=llvm/trunk/test/CodeGen/X86/rem_crash.ll&r1=262594&r2=262620&rev=262620&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rem_crash.ll (original)
+++ llvm/trunk/test/CodeGen/AArch64/rem_crash.ll Thu Mar 3 08:01:10 2016
@@ -1,4 +1,4 @@
-; RUN: llc < %s
+; RUN: llc < %s -march=aarch64
define i8 @test_minsize_uu8(i8 %x) minsize optsize {
entry:
Copied: llvm/trunk/test/CodeGen/ARM/rem_crash.ll (from r262594, llvm/trunk/test/CodeGen/X86/rem_crash.ll)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/rem_crash.ll?p2=llvm/trunk/test/CodeGen/ARM/rem_crash.ll&p1=llvm/trunk/test/CodeGen/X86/rem_crash.ll&r1=262594&r2=262620&rev=262620&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rem_crash.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/rem_crash.ll Thu Mar 3 08:01:10 2016
@@ -1,4 +1,4 @@
-; RUN: llc < %s
+; RUN: llc < %s -march=arm
define i8 @test_minsize_uu8(i8 %x) minsize optsize {
entry:
Modified: llvm/trunk/test/CodeGen/X86/rem_crash.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/rem_crash.ll?rev=262620&r1=262619&r2=262620&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/X86/rem_crash.ll (original)
+++ llvm/trunk/test/CodeGen/X86/rem_crash.ll Thu Mar 3 08:01:10 2016
@@ -1,4 +1,5 @@
-; RUN: llc < %s
+; RUN: llc < %s -march=x86
+; RUN: llc < %s -march=x86-64
define i8 @test_minsize_uu8(i8 %x) minsize optsize {
entry:
More information about the llvm-commits
mailing list