Add a neat little two's complement hack for x86.
[oota-llvm.git] / test / CodeGen / X86 / 2008-08-25-AsmRegTypeMismatch.ll
index 8d987b5011fd5a97025bb2bbfd27563a24614a5d..101b3c5cfdbbdb852a41496df8de0ea8cd9ac923 100644 (file)
@@ -1,5 +1,7 @@
-; RUN: llvm-as < %s | llc -mcpu=yonah
+; RUN: llc < %s -mcpu=core2 | grep pxor | count 2
+; RUN: llc < %s -mcpu=core2 | not grep movapd
 ; PR2715
+
 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-unknown-linux-gnu"
        %struct.XPTTypeDescriptorPrefix = type { i8 }