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
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@284213
91177308-0d34-0410-b5e6-
96231b3b80d8
// 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;