[WebAssembly] Don't perform the returned-argument optimization on constants.
[oota-llvm.git] / test / CodeGen / ARM / ldrd-memoper.ll
index f1a1121f6aa4a896034420e79ccedb717a607498..744fbd5efb860475e122bc79e301645757e6d3b9 100644 (file)
@@ -8,8 +8,8 @@
 ; CHECK: Formed {{.*}} t2LDRD{{.*}} mem:LD4[%0] LD4[%0+4]
 define i64 @t(i64 %a) nounwind readonly {
 entry:
-       %0 = load i64** @b, align 4
-       %1 = load i64* %0, align 4
+       %0 = load i64*, i64** @b, align 4
+       %1 = load i64, i64* %0, align 4
        %2 = mul i64 %1, %a
        ret i64 %2
 }