[llvm-bugs] [Bug 52205] New: Instcombine breaks apart std::clamp, X86 backend is unable to reconstruct
llvm-bugs at lists.llvm.org
Mon Oct 18 03:22:13 PDT 2021
Bug ID: 52205
Summary: Instcombine breaks apart std::clamp, X86 backend is
unable to reconstruct
Component: Scalar Optimizations
Assignee: unassignedbugs at nondot.org
Reporter: lebedev.ri at gmail.com
CC: llvm-bugs at lists.llvm.org
-stdlib=libc++ isn't important here, there's some phase ordering behaviour
that prevents the issue with libstdc++ on the snippet, but not on the orig src.
It sunk trunc into the last select,
and skipped non-sign-changing ashr in the first comparison.
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs