[PATCH] CodeGen: implement __emit intrinsic
Saleem Abdulrasool
abdulras at fb.com
Tue Dec 16 09:33:41 PST 2014
Emit inserts exactly a single instruction. It provides no guarantees of the state, so I don't think that we need to worry about LLVM doing something like inserting spills.
================
Comment at: test/CodeGen/builtins-arm-msvc-compat-error.c:8
@@ +7,3 @@
+
+// CHECK: fatal error: error in backend: constant value required!
+
----------------
rnk wrote:
> Why isn't sema catching this? I thought we had a builtin character code for that.
Ill take a look and see if I can find what you are referring to. If you can point that out, that would be wonderful. If we can catch this without a fatal error, that would be significantly better.
http://reviews.llvm.org/D3489
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list