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
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 | ||
---|---|---|
630 | nit: MachineInstrBuilder MIB(*MI.getParent()->getParent(), MI); would be shorter | |
635 | 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.
nit: MachineInstrBuilder MIB(*MI.getParent()->getParent(), MI); would be shorter