[PATCH] D65380: [InstCombine] Shift amount reassociation: shl-trunc-shl pattern

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 12:04:47 PDT 2019


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp:78
+                                 X->getType()->getScalarSizeInBits()))))
+    return nullptr; // FIXME; could perform constant-folding.
+
----------------
xbolva00 wrote:
> FIXME:
Right.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D65380





More information about the llvm-commits mailing list