[PATCH] D34602: [GlobalISel][X86] Support call ABI.

Igor Breger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 3 11:56:00 PDT 2017


igorb added inline comments.


================
Comment at: lib/Target/X86/X86CallLowering.cpp:317
+  // constraint of that instruction.
+  if (Callee.isReg())
+    MIB->getOperand(0).setReg(constrainOperandRegClass(
----------------
oren_ben_simhon wrote:
> Could you please add a test that checks the case where the callee is a register?
test_indirect_call cover this case


https://reviews.llvm.org/D34602





More information about the llvm-commits mailing list