[x86][ms-inline-asm] use of "jmp short" in asm is not supported

Test linked to: https://reviews.llvm.org/D24957

Committing in the name of Ziv Izhar: After check-all and LGTM .

Differential Revision: https://reviews.llvm.org/D24958

llvm-svn: 284213
This commit is contained in:
Michael Zuckerman 2016-10-14 08:13:27 +00:00
parent 505434bd28
commit 387530ffe3
1 changed files with 9 additions and 0 deletions

View File

@ -634,6 +634,15 @@ void label5() {
// CHECK: call void asm sideeffect inteldialect "jmp {{.*}}__MSASMLABEL_.5__dollar_label$$\0A\09{{.*}}__MSASMLABEL_.5__dollar_label$$:", "~{dirflag},~{fpsr},~{flags}"()
}
void label6(){
__asm {
jmp short label
label:
}
// CHECK-LABEL: define void @label6
// CHECK: call void asm sideeffect inteldialect "jmp {{.*}}__MSASMLABEL_.6__label\0A\09{{.*}}__MSASMLABEL_.6__label:", "~{dirflag},~{fpsr},~{flags}"()
}
typedef union _LARGE_INTEGER {
struct {
unsigned int LowPart;