diff options
Diffstat (limited to 'lib/Target/SystemZ/SystemZISelLowering.cpp')
| -rw-r--r-- | lib/Target/SystemZ/SystemZISelLowering.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZISelLowering.cpp b/lib/Target/SystemZ/SystemZISelLowering.cpp index 03a6da6dc4..ae520e1f2a 100644 --- a/lib/Target/SystemZ/SystemZISelLowering.cpp +++ b/lib/Target/SystemZ/SystemZISelLowering.cpp @@ -1624,7 +1624,8 @@ convertPrevCompareToBranch(MachineBasicBlock *MBB, while (Compare->isDebugValue()); const SystemZInstrInfo *TII = TM.getInstrInfo(); - unsigned FusedOpcode = TII->getCompareAndBranch(Compare->getOpcode()); + unsigned FusedOpcode = TII->getCompareAndBranch(Compare->getOpcode(), + Compare); if (!FusedOpcode) return false; |
