summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/ms-inline-asm.cpp
diff options
context:
space:
mode:
authorCoby Tayree <coby.tayree@intel.com>2017-08-24 08:47:26 +0000
committerCoby Tayree <coby.tayree@intel.com>2017-08-24 08:47:26 +0000
commitcfa3810aa0137984a730fb3bc65d0307ed7f1640 (patch)
treee0fabb65daef64d13170d2e6d9e26872338f3d0e /clang/test/CodeGen/ms-inline-asm.cpp
parentd89128925bd56ca314ffb4c895b06e566560c51a (diff)
downloadbcm5719-llvm-cfa3810aa0137984a730fb3bc65d0307ed7f1640.tar.gz
bcm5719-llvm-cfa3810aa0137984a730fb3bc65d0307ed7f1640.zip
Fixups to FE tests affected by D36793
Differential Revision: https://reviews.llvm.org/D36794 llvm-svn: 311640
Diffstat (limited to 'clang/test/CodeGen/ms-inline-asm.cpp')
-rw-r--r--clang/test/CodeGen/ms-inline-asm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/CodeGen/ms-inline-asm.cpp b/clang/test/CodeGen/ms-inline-asm.cpp
index 094e34aed2f..039cde9e10e 100644
--- a/clang/test/CodeGen/ms-inline-asm.cpp
+++ b/clang/test/CodeGen/ms-inline-asm.cpp
@@ -130,7 +130,7 @@ void t7_struct() {
__asm mov eax, [eax].A.b
// CHECK-LABEL: define void @_Z9t7_structv
// CHECK: call void asm sideeffect inteldialect
- // CHECK-SAME: mov eax, [eax].4
+ // CHECK-SAME: mov eax, [eax + $$4]
// CHECK-SAME: "~{eax},~{dirflag},~{fpsr},~{flags}"()
}
@@ -142,7 +142,7 @@ void t7_typedef() {
__asm mov eax, [eax].A.b
// CHECK-LABEL: define void @_Z10t7_typedefv
// CHECK: call void asm sideeffect inteldialect
- // CHECK-SAME: mov eax, [eax].4
+ // CHECK-SAME: mov eax, [eax + $$4]
// CHECK-SAME: "~{eax},~{dirflag},~{fpsr},~{flags}"()
}
@@ -154,7 +154,7 @@ void t7_using() {
__asm mov eax, [eax].A.b
// CHECK-LABEL: define void @_Z8t7_usingv
// CHECK: call void asm sideeffect inteldialect
- // CHECK-SAME: mov eax, [eax].4
+ // CHECK-SAME: mov eax, [eax + $$4]
// CHECK-SAME: "~{eax},~{dirflag},~{fpsr},~{flags}"()
}
@@ -188,7 +188,7 @@ void t9() {
void g() {
__asm mov eax, dword ptr [eax]this.b
// CHECK: call void asm sideeffect inteldialect
- // CHECK-SAME: mov eax, dword ptr [eax].4
+ // CHECK-SAME: mov eax, dword ptr [eax + $$4]
// CHECK-SAME: "~{eax},~{dirflag},~{fpsr},~{flags}"()
}
};
OpenPOWER on IntegriCloud