[all-commits] [llvm/llvm-project] c9790d: [PowerPC] Remove extra instruction left by emitRLD...

stefanp-ibm via All-commits all-commits at lists.llvm.org
Mon Jun 8 18:49:23 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c9790d54f83311821c6fa23a89615569bde6484f
      https://github.com/llvm/llvm-project/commit/c9790d54f83311821c6fa23a89615569bde6484f
  Author: Anil Mahmud <Anil.Mahmud at ibm.com>
  Date:   2020-06-08 (Mon, 08 Jun 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
    A llvm/test/CodeGen/PowerPC/jump-tables-collapse-rotate-remove-SrcMI.mir

  Log Message:
  -----------
  [PowerPC] Remove extra instruction left by emitRLDICWhenLoweringJumpTables

The function emitRLDICWhenLoweringJumpTables in PPCMIPeephole.cpp
was supposed to convert a pair of RLDICL and RLDICR to a single RLDIC,
but it was leaving out the RLDICL instruction. This PR fixes the bug.

Differential Revision: https://reviews.llvm.org/D78063




More information about the All-commits mailing list