diff options
Diffstat (limited to 'test/CodeGen/ARM/swift-vldm.ll')
-rw-r--r-- | test/CodeGen/ARM/swift-vldm.ll | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/CodeGen/ARM/swift-vldm.ll b/test/CodeGen/ARM/swift-vldm.ll index 67ae00a..9e50727 100644 --- a/test/CodeGen/ARM/swift-vldm.ll +++ b/test/CodeGen/ARM/swift-vldm.ll @@ -12,14 +12,14 @@ declare fastcc void @force_register(double %d0, double %d1, double %d2, double % define void @test_vldm(double* %x, double * %y) { entry: - %addr1 = getelementptr double * %x, i32 1 - %addr2 = getelementptr double * %x, i32 2 - %addr3 = getelementptr double * %x, i32 3 - %d0 = load double * %y - %d1 = load double * %x - %d2 = load double * %addr1 - %d3 = load double * %addr2 - %d4 = load double * %addr3 + %addr1 = getelementptr double, double * %x, i32 1 + %addr2 = getelementptr double, double * %x, i32 2 + %addr3 = getelementptr double, double * %x, i32 3 + %d0 = load double , double * %y + %d1 = load double , double * %x + %d2 = load double , double * %addr1 + %d3 = load double , double * %addr2 + %d4 = load double , double * %addr3 ; We are trying to force x[0-3] in registers d1 to d4 so that we can test we ; don't form a "vldmia rX, {d1, d2, d3, d4}". ; We are relying on the calling convention and that register allocation |