[PATCH] D18429: Add lowering support for llvm.experimental.deoptimize

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 24 11:55:42 PDT 2016


sanjoy added inline comments.

================
Comment at: lib/CodeGen/SelectionDAG/StatepointLowering.cpp:940
@@ +939,3 @@
+
+  unsigned DefaultID = StatepointDirectives::DeoptBundleStatepointID;
+
----------------
reames wrote:
> Not sure the exact variable adds anything here.
Without it I get linker errors around `StatepointDirectives::DeoptBundleStatepointID`.  I didn't spend time figuring out the root cause (I suspect it has to do with the move constructor in `getValueOr`), and this looks like an acceptable workaround.


http://reviews.llvm.org/D18429





More information about the llvm-commits mailing list