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

            Bug ID: 47922
           Summary: Suboptimal lowering of conditional binop identity
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected]

The x86 backend fails to notice when expanding selects/phis will cause things
like addition of 0 and emits unnecessary instructions.

examples: https://godbolt.org/z/j5onGK

I would potentially be interested in looking into this, but I am fairly new to
LLVM. This would be my first time working on one of the backends. If anyone
could point me in the right direction as to where to begin, that would be
great.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to