A regression showed up in node.js when handling conditional calls.
Fix the regression by recognizing external symbols as a possible operand type in CallJG.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Thanks for fixing this! Looks OK, but ISTM the whole thing could be avoided by just doing addOperand instead of the more specific variants?
lib/Target/SystemZ/SystemZInstrInfo.cpp | ||
---|---|---|
626 ↗ | (On Diff #62900) | nit: MachineInstrBuilder MIB(*MI.getParent()->getParent(), MI); would be shorter |
631 ↗ | (On Diff #62900) | Shouldn't it be enough to just addOperand(FirstOp)? |
Comment Actions
Hmm, you're right, didn't notice there was an addOperand API for the builder. I've updated the diff to use addOperand instead of the specific variants.