[llvm-bugs] [Bug 50217] New: [PowerPC] Unnecessary zero-extension for atomics

via llvm-bugs llvm-bugs at lists.llvm.org
Tue May 4 04:07:52 PDT 2021


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

            Bug ID: 50217
           Summary: [PowerPC] Unnecessary zero-extension for atomics
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: jrtc27 at jrtc27.com
                CC: llvm-bugs at lists.llvm.org, nemanja.i.ibm at gmail.com

Many of the tests in llvm/test/CodeGen/PowerPC/atomics-i{8,16,32}-ldst.ll have
unnecessary zero-extensions. These were originally extending from i8/i16/i32 to
a full i64 register, but since https://reviews.llvm.org/D101342 SelectionDAG
folds away any extension to i32 (as the atomics themselves are zero-extending),
however, they all still have an unnecessary i32-to-i64 zero extension.

-- 
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/20210504/2840ba26/attachment.html>


More information about the llvm-bugs mailing list