Add a triple to switch.ll test.
[oota-llvm.git] / test / CodeGen / PowerPC / 2008-03-24-AddressRegImm.ll
index 395c986a84123e20515e5e9b49f31b2f5f180056..1191748b87d488b31f61db435a8d5c1a6c4f47ea 100644 (file)
@@ -1,12 +1,12 @@
-; RUN: llvm-as < %s | llc -march=ppc64
+; RUN: llc < %s -march=ppc64
 
 define fastcc i8* @page_rec_get_next(i8* %rec) nounwind  {
 entry:
        %tmp2627 = ptrtoint i8* %rec to i64             ; <i64> [#uses=2]
        %tmp28 = and i64 %tmp2627, -16384               ; <i64> [#uses=2]
        %tmp2829 = inttoptr i64 %tmp28 to i8*           ; <i8*> [#uses=1]
-       %tmp37 = getelementptr i8* %tmp2829, i64 42             ; <i8*> [#uses=1]
-       %tmp40 = load i8* %tmp37, align 1               ; <i8> [#uses=1]
+       %tmp37 = getelementptr i8, i8* %tmp2829, i64 42         ; <i8*> [#uses=1]
+       %tmp40 = load i8, i8* %tmp37, align 1           ; <i8> [#uses=1]
        %tmp4041 = zext i8 %tmp40 to i64                ; <i64> [#uses=1]
        %tmp42 = shl i64 %tmp4041, 8            ; <i64> [#uses=1]
        %tmp47 = add i64 %tmp42, 0              ; <i64> [#uses=1]