[PATCH] ms-inline-asm: Add a test case for the usage of labels in bracket expressions

Reid Kleckner rnk at google.com
Mon Sep 22 13:48:12 PDT 2014


lgtm

================
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}"()
+}
----------------
Interesting. I would've expected this to be a load, not a lea-like thing.

http://reviews.llvm.org/D5446






More information about the cfe-commits mailing list