CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / 2007-05-14-LiveIntervalAssert.ll
index f89ef71d47f0de3fe2d32cf7e55633d8c9212106..9ce5f5ac63a12a3962d8d8d23ce5f7fb82e2a200 100644 (file)
@@ -1,9 +1,9 @@
-; RUN: llvm-as < %s | llc -march=x86-64
+; RUN: llc < %s -march=x86-64
 
        %struct.XDesc = type <{ i32, %struct.OpaqueXDataStorageType** }>
        %struct.OpaqueXDataStorageType = type opaque
 
-declare i16 @GetParamDesc(%struct.XDesc*, i32, i32, %struct.XDesc*) sext 
+declare signext i16 @GetParamDesc(%struct.XDesc*, i32, i32, %struct.XDesc*)  
 
 declare void @r_raise(i64, i8*, ...)
 
@@ -18,8 +18,8 @@ cond_true109:         ; preds = %entry
        br i1 false, label %cond_next164, label %cond_true239
 
 cond_next164:          ; preds = %cond_true109
-       %tmp176 = call i16 @GetParamDesc( %struct.XDesc* null, i32 1701999219, i32 1413830740, %struct.XDesc* null ) sext               ; <i16> [#uses=0]
-       call void (i64, i8*, ...)* @r_raise( i64 0, i8* null )
+       %tmp176 = call signext i16 @GetParamDesc( %struct.XDesc* null, i32 1701999219, i32 1413830740, %struct.XDesc* null ) 
+       call void (i64, i8*, ...) @r_raise( i64 0, i8* null )
        unreachable
 
 cond_true239:          ; preds = %cond_true109