fixed to test attributes and use better checks
[oota-llvm.git] / test / CodeGen / X86 / 2007-08-01-LiveVariablesBug.ll
index 8eda0ab9bc4ea2cff4e5b8013efdced4be345561..4f7ae327d1fdd712da71088144133fe1ca08e905 100644 (file)
@@ -1,6 +1,8 @@
-; RUN: llvm-as < %s | llc -march=x86 | not grep movl
+; RUN: llc < %s -march=x86 | FileCheck %s
 
-define i8 @t(i8 zeroext  %x, i8 zeroext  %y) zeroext  {
+; CHECK-NOT: movl
+
+define zeroext i8 @t(i8 zeroext  %x, i8 zeroext  %y)   {
        %tmp2 = add i8 %x, 2
        %tmp4 = add i8 %y, -2
        %tmp5 = mul i8 %tmp4, %tmp2