[all-commits] [llvm/llvm-project] 85f792: [ConstantFold] Remove unnecessary cast of zero gep...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Nov 3 03:25:58 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85f79233286c78a1b79d01ca0677230658732b35
https://github.com/llvm/llvm-project/commit/85f79233286c78a1b79d01ca0677230658732b35
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
Log Message:
-----------
[ConstantFold] Remove unnecessary cast of zero gep fold (NFCI)
Zero GEPs will be optimized away entirely, except in the cases
which this transform also excludes (splat, inrange).
Commit: c5a1d0ae6a69c7ba39a4386c30e49da0d2a3664e
https://github.com/llvm/llvm-project/commit/c5a1d0ae6a69c7ba39a4386c30e49da0d2a3664e
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-11-03 (Fri, 03 Nov 2023)
Changed paths:
M llvm/lib/IR/ConstantFold.cpp
Log Message:
-----------
Revert "[ConstantFold] Remove unnecessary BitCastConstantVector() (NFCI)"
This reverts commit 2182561b7ba675ca87356c02474eecb6ecfaa23f.
The all-ones special case in this case isn't redundant. Will redo
the change while preserving it.
Compare: https://github.com/llvm/llvm-project/compare/8fd43fddd3b1...c5a1d0ae6a69
More information about the All-commits
mailing list