[all-commits] [llvm/llvm-project] aba7c3: [ConstantFold] Check uniform value in ConstantFold...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jan 13 05:40:36 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: aba7c3c0338695558d229e9b9c8d6b21d5a2cd42
https://github.com/llvm/llvm-project/commit/aba7c3c0338695558d229e9b9c8d6b21d5a2cd42
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-01-13 (Thu, 13 Jan 2022)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
A llvm/test/Transforms/GlobalOpt/evaluate-load-uniform.ll
Log Message:
-----------
[ConstantFold] Check uniform value in ConstantFoldLoadFromConst()
This case is automatically handled if ConstantFoldLoadFromConstPtr()
is used. Make sure that ConstantFoldLoadFromConst() also handles it.
More information about the All-commits
mailing list