[PATCH] Add 'musttail' marker to call instructions

David Majnemer david.majnemer at gmail.com
Mon Mar 31 20:20:19 PDT 2014



================
Comment at: include/llvm/IR/Instructions.h:1291
@@ -1281,1 +1290,3 @@
+  }
   void setTailCall(bool isTC = true) {
+    setInstructionSubclassData((getSubclassDataFromInstruction() & ~3) |
----------------
Wouldn't it make more sense to have `setTailCall` take an `enum TailCallKind` instead of having both `setTailCall` and `setTailCallKind` ?


http://llvm-reviews.chandlerc.com/D3240



More information about the llvm-commits mailing list