[PATCH] D89682: [VE] Add cast to/from fp128 patterns

Simon Moll via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 19 05:21:44 PDT 2020


simoll accepted this revision.
simoll added inline comments.
This revision is now accepted and ready to land.


================
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
----------------
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?).


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