[PATCH] D94546: [RISCV] Optimize select_cc after fp compare expansion

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 12 14:03:20 PST 2021


craig.topper updated this revision to Diff 316234.
craig.topper added a comment.

-Remove one use check.
-Handle SETEQ as well, but I don't know how to test it as it requires an xor to appear after type legalization.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94546

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/test/CodeGen/RISCV/double-select-fcmp.ll
  llvm/test/CodeGen/RISCV/float-select-fcmp.ll
  llvm/test/CodeGen/RISCV/half-select-fcmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94546.316234.patch
Type: text/x-patch
Size: 16520 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210112/55321f1a/attachment.bin>


More information about the llvm-commits mailing list