diff --git a/llvm/test/Feature/alignment.ll b/llvm/test/Feature/alignment.ll index 6ea7d8d7ff464b027d724256163fca9034336196..871592b2ff32fe0835a9dfe7efd7cf20dec16d39 100644 --- a/llvm/test/Feature/alignment.ll +++ b/llvm/test/Feature/alignment.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll diff --git a/llvm/test/Feature/basictest.ll b/llvm/test/Feature/basictest.ll index cabf6036dc3a26dd5a032da95a16386865655f87..cf040ec250836b679d052400d5402f0696dbbeee 100644 --- a/llvm/test/Feature/basictest.ll +++ b/llvm/test/Feature/basictest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll @@ -30,4 +30,3 @@ begin Startup: ret int 0 end - diff --git a/llvm/test/Feature/callingconventions.ll b/llvm/test/Feature/callingconventions.ll index ea50b0a86ab488a33bada69271cf78a5bcf4b44e..5617f9f26f989ab5883226cc3fcd750381bfb71f 100644 --- a/llvm/test/Feature/callingconventions.ll +++ b/llvm/test/Feature/callingconventions.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll diff --git a/llvm/test/Feature/calltest.ll b/llvm/test/Feature/calltest.ll index 861d7632d41ab3a9afe9a317d14f8f0190880d4c..090e840007e37395de37bc3fec31582990dce3d4 100644 --- a/llvm/test/Feature/calltest.ll +++ b/llvm/test/Feature/calltest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll diff --git a/llvm/test/Feature/casttest.ll b/llvm/test/Feature/casttest.ll index e7d8756791b6bb7adafd4924a8158cbd4fbc920b..96f971a0e8fdc2942cd67c085338065c3646f5df 100644 --- a/llvm/test/Feature/casttest.ll +++ b/llvm/test/Feature/casttest.ll @@ -1,23 +1,7 @@ -; RUN: llvm-as %s -o - | llvm-dis > %t1.ll +; RUN: llvm-upgrade < %s | llvm-as | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll -void "NewCasts" (short %x) { - %a = zext short %x to int - %b = sext short %x to uint - %c = trunc short %x to ubyte - %d = uitofp short %x to float - %e = sitofp short %x to double - %f = fptoui float %d to short - %g = fptosi double %e to short - %i = fpext float %d to double - %j = fptrunc double %i to float - %k = bitcast int %a to float - %l = inttoptr short %x to int* - %m = ptrtoint int* %l to long - ret void -} - short "FunFunc"(long %x, sbyte %z) begin bb0: ;;