[PATCH] D78272: [PowerPC] DAG Combine to transform shifts into multiply-high
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 22:08:50 PDT 2020
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelLowering.cpp:15904
+ SDValue Result = DAG.getNode(MulhOpcode, DL, NarrowVT, LeftOp.getOperand(0),
+ RightOp.getOperand(0));
+ return (IsSignExt ? DAG.getSExtOrTrunc(Result, DL, WideVT1)
----------------
I don't see a check that RightOp.getOperand(0) and LeftOp.getOperand(0) are the the same type?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78272/new/
https://reviews.llvm.org/D78272
More information about the llvm-commits
mailing list