[all-commits] [llvm/llvm-project] 0f0e69: [ConstantFold] Disable gep of array bitcast fold w...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jan 27 02:53:14 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0f0e699776d731f3aae358428e56f4ae3968abe8
https://github.com/llvm/llvm-project/commit/0f0e699776d731f3aae358428e56f4ae3968abe8
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-27 (Thu, 27 Jan 2022)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
M llvm/test/Transforms/InstCombine/opaque-ptr.ll
Log Message:
-----------
[ConstantFold] Disable gep of array bitcast fold with opaque pointers
Once again, this fold is meaningless with opaque pointers, as there
is no pointer element type to canonicalize. At some point, we may
want to do GEP type canonicalizations.
More information about the All-commits
mailing list