[all-commits] [llvm/llvm-project] de285e: [InstCombine] allow for constant-folding in GEP tr...
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Aug 16 07:37:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: de285eacb0113f7be32163f0166ef2c0faf18d65
https://github.com/llvm/llvm-project/commit/de285eacb0113f7be32163f0166ef2c0faf18d65
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-08-16 (Mon, 16 Aug 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/gep-combine-loop-invariant.ll
Log Message:
-----------
[InstCombine] allow for constant-folding in GEP transform
This would crash the reduced test or as described in
https://llvm.org/PR51485
...because we can't mark a constant (-expression) with 'inbounds'.
More information about the All-commits
mailing list