[PATCH] D107428: [PowerPC] Fix shift amount of xxsldwi when performing vector int_to_double

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 19:05:28 PDT 2021


shchenz added inline comments.


================
Comment at: llvm/lib/Target/PowerPC/PPCInstrVSX.td:2969
 def : Pat<WToDPExtractConv.BV13U,
           (v2f64 (XVCVUXWDP (XXSLDWI $A, $A, 3)))>;
 def : Pat<(v2f64 (insertelt v2f64:$A, f64:$B, 0)),
----------------
I assume for unsigned, it has the same issue?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D107428



More information about the llvm-commits mailing list