[PATCH] ms-inline-asm: Add a test case for the usage of labels in bracket expressions
Ehsan Akhgari
ehsan.akhgari at gmail.com
Mon Sep 22 13:51:12 PDT 2014
================
Comment at: test/CodeGen/ms-inline-asm.c:554
@@ +553,3 @@
+ // CHECK-LABEL: define void @label4
+ // CHECK: call void asm sideeffect inteldialect "{{.*}}__MSASMLABEL_.4__label:\0A\09mov eax, {{.*}}__MSASMLABEL_.4__label", "~{eax},~{dirflag},~{fpsr},~{flags}"()
+}
----------------
rnk wrote:
> Interesting. I would've expected this to be a load, not a lea-like thing.
This is what MSVC does, AFAICT.
http://reviews.llvm.org/D5446
More information about the cfe-commits
mailing list