[PATCH] D89682: [VE] Add cast to/from fp128 patterns
Kazushi Marukawa via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 05:35:13 PDT 2020
kaz7 added inline comments.
================
Comment at: llvm/test/CodeGen/VE/cast.ll:152
+; CHECK-NEXT: cvt.w.d.sx.rz %s0, %s0
+; CHECK-NEXT: adds.w.sx %s0, %s0, (0)1
+; CHECK-NEXT: or %s11, 0, %s9
----------------
simoll wrote:
> I guess folding the `add.w.sx` with the already sign-extending `cvt.w.d.sx.rz` above would be an optimization (custom DAG combine?).
Yes. The latest internal develop branch has this issue also, though. Need to track theses issues too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89682/new/
https://reviews.llvm.org/D89682
More information about the llvm-commits
mailing list