[llvm-bugs] [Bug 51209] New: [RISCV] Improve gorc2 detection

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jul 25 08:34:04 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51209

            Bug ID: 51209
           Summary: [RISCV] Improve gorc2 detection
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: RISC-V
          Assignee: unassignedbugs at nondot.org
          Reporter: llvm-dev at redking.me.uk
                CC: asb at lowrisc.org, llvm-bugs at lists.llvm.org

As encountered on D77804, the gorc2 matching (and the gorc2, gorc2 -> gorc2
combines) are incredibly brittle.

llvm/test/CodeGen/RISCV/rv32zbp.ll
llvm/test/CodeGen/RISCV/rv64zbp.ll

The gorc2, gorc2 -> gorc2 tests that D77804 breaks aren't likely to occur as
InstCombine will already optimize the IR in a similar manner, preventing the
match.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210725/c75264ff/attachment.html>


More information about the llvm-bugs mailing list