[Hexagon] Add PIC support
[oota-llvm.git] / test / Bitcode / function-encoding-rel-operands.ll
index a96253b86fe83b6452abe65dac537085950048b2..1307dd4833770c3b5cc3816a605ec5c34760f720 100644 (file)
@@ -43,8 +43,8 @@ define double @test_float_binops(i32 %a) nounwind {
 ; CHECK: INST_RET {{.*}}op0=1
 define i1 @test_load(i32 %a, {i32, i32}* %ptr) nounwind {
 entry:
-  %0 = getelementptr inbounds {i32, i32}* %ptr, i32 %a, i32 0
-  %1 = load i32* %0
+  %0 = getelementptr inbounds {i32, i32}, {i32, i32}* %ptr, i32 %a, i32 0
+  %1 = load i32, i32* %0
   %2 = icmp eq i32 %1, %a
   ret i1 %2
 }