[PATCH] Allow EmitVAArg() to promote types and use this to fix some N32/N64 vararg issues for Mips.

David Chisnall csdavec at swan.ac.uk
Tue Nov 18 07:06:03 PST 2014


That looks a lot cleaner than my hacks!

================
Comment at: lib/CodeGen/CGExprScalar.cpp:3318
@@ -3311,1 +3317,3 @@
+
+  return Val;
 }
----------------
I think the real fix here is to move the CreateLoad into each of the EmitVAArg() call, but this is a simpler change.

http://reviews.llvm.org/D6248






More information about the cfe-commits mailing list