Stop producing .data.rel sections.
[oota-llvm.git] / test / CodeGen / X86 / change-compare-stride-trickiness-1.ll
index cb638092ea1a3df5699bb2786335cbb5ea8702f8..63733abc5f347d66fbbdd4601057d859e9d1905a 100644 (file)
@@ -1,6 +1,4 @@
-; RUN: llc %s -o - --x86-asm-syntax=att | grep {cmp.   \$10}
-target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"
-target triple = "x86_64-apple-darwin9"
+; RUN: llc -march=x86 < %s | FileCheck %s
 
 ; The comparison happens after the relevant use, so the stride can easily
 ; be changed. The comparison can be done in a narrower mode than the
@@ -9,6 +7,11 @@ target triple = "x86_64-apple-darwin9"
 ; could be made simpler.
 
 define void @foo() nounwind {
+; CHECK-LABEL: foo:
+; CHECK-NOT: ret
+; CHECK: cmpl $10
+; CHECK: ret
+
 entry:
        br label %loop