forked from OSchip/llvm-project
[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:
parent
505434bd28
commit
387530ffe3
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue