Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
  2. index eb100ec..7310bcc 100644
  3. --- a/lib/Target/PowerPC/PPCInstrInfo.td
  4. +++ b/lib/Target/PowerPC/PPCInstrInfo.td
  5. @@ -461,7 +461,7 @@ let isCall = 1, PPC970_Unit = 7,
  6. LR,CTR,
  7. CR0,CR1,CR5,CR6,CR7,CARRY] in {
  8. // Convenient aliases for call instructions
  9. - let Uses = [RM] in {
  10. + let Uses = [RM, CR1EQ] in {
  11. def BL_SVR4 : IForm<18, 0, 1,
  12. (outs), (ins calltarget:$func, variable_ops),
  13. "bl $func", BrB, []>; // See Pat patterns below.
  14. @@ -470,7 +470,7 @@ let isCall = 1, PPC970_Unit = 7,
  15. "bla $func", BrB,
  16. [(PPCcall_SVR4 (i32 imm:$func))]>;
  17. }
  18. - let Uses = [CTR, RM] in {
  19. + let Uses = [CTR, RM, CR1EQ] in {
  20. def BCTRL_SVR4 : XLForm_2_ext<19, 528, 20, 0, 1,
  21. (outs), (ins variable_ops),
  22. "bctrl", BrB,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement