Add a front-end test case for r176036.

llvm-svn: 176038
This commit is contained in:
Chad Rosier 2013-02-25 19:13:23 +00:00
parent 7cf4361912
commit 1ef5d51ade
1 changed files with 8 additions and 0 deletions

View File

@ -349,4 +349,12 @@ int *t30()
// CHECK: call void asm sideeffect inteldialect "mov dword ptr $0, edi", "=*m,~{dirflag},~{fpsr},~{flags}"(i32** %{{.*}}) [[NUW]]
}
void t31() {
__asm pushad
__asm popad
// CHECK: t31
// CHECK: call void asm sideeffect inteldialect "pushad", "~{dirflag},~{fpsr},~{flags}"() [[NUW]]
// CHECK: call void asm sideeffect inteldialect "popad", "~{dirflag},~{fpsr},~{flags}"() [[NUW]]
}
// CHECK: attributes [[NUW]] = { nounwind }