[PATCH] D86449: [SelectionDAG] Handle non-power-of-2 bitwidths in expandROT
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 03:32:43 PDT 2020
spatel added inline comments.
================
Comment at: llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp:6287
+ HsVal =
+ DAG.getNode(HsOpc, DL, VT, DAG.getNode(HsOpc, DL, VT, Op0, One), HsAmt);
+ }
----------------
This can't be right - both shifts are `HsOpc`. We need another test with a variable shift amount to make sure this is correct?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86449/new/
https://reviews.llvm.org/D86449
More information about the llvm-commits
mailing list