[PATCH] D128124: [X86] Remove unnecessary COPY from EmitLoweredCascadedSelect.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 27 17:41:08 PDT 2022


craig.topper added a comment.

In D128124#3613995 <https://reviews.llvm.org/D128124#3613995>, @pengfei wrote:

> LGTM.
> Just curious: why no test affected. Is the COPY eliminated laterly?

I guess so. The coalescer would probably remove it if it not removed by CSE or peephole pass. I didn't look too closely. I was looking at it because of D127871 <https://reviews.llvm.org/D127871> which is adding a similar function for RISC-V.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D128124/new/

https://reviews.llvm.org/D128124



More information about the llvm-commits mailing list