[PATCH] D149481: [TargetLowering] Don't use ISD::SELECT_CC in expandFP_TO_INT_SAT.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 28 15:59:28 PDT 2023
craig.topper added inline comments.
================
Comment at: llvm/test/CodeGen/RISCV/float-convert.ll:537
+; RV32IF-NEXT: feq.s a1, fs0, fs0
+; RV32IF-NEXT: xori a1, a1, 1
+; RV32IF-NEXT: addi a4, a1, -1
----------------
The xori+addi here are equivalent to neg. I'll fix this in a follow up patch.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149481/new/
https://reviews.llvm.org/D149481
More information about the llvm-commits
mailing list