Add a front-end test case for r178186.

llvm-svn: 178187
This commit is contained in:
Chad Rosier 2013-03-27 21:50:39 +00:00
parent 1530ba5e73
commit a0ef404973
1 changed files with 8 additions and 0 deletions

View File

@ -383,4 +383,12 @@ void t33() {
// CHECK: call void asm sideeffect inteldialect "mov al, byte ptr $0", "*m,~{al},~{dirflag},~{fpsr},~{flags}"(i32* %{{.*}}) [[NUW]]
}
void t34() {
__asm prefetchnta 64[eax]
__asm mov eax, dword ptr 4[eax]
// CHECK: t34
// CHECK: call void asm sideeffect inteldialect "prefetchnta $$64[eax]", "~{dirflag},~{fpsr},~{flags}"()
// CHECK: call void asm sideeffect inteldialect "mov eax, dword ptr $$4[eax]", "~{eax},~{dirflag},~{fpsr},~{flags}"()
}
// CHECK: attributes [[NUW]] = { nounwind }