[all-commits] [llvm/llvm-project] 0445c3: [ConstantFold] Support loads in ConstantFoldInstOp...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Thu Jun 30 03:18:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0445c340ff48b9ba53e69933cef0af703bb5ea0f
https://github.com/llvm/llvm-project/commit/0445c340ff48b9ba53e69933cef0af703bb5ea0f
Author: Nikita Popov <npopov at redhat.com>
Date: 2022-06-30 (Thu, 30 Jun 2022)
Changed paths:
M llvm/lib/Analysis/ConstantFolding.cpp
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Analysis/ScalarEvolution.cpp
Log Message:
-----------
[ConstantFold] Support loads in ConstantFoldInstOperands()
This allows all constant folding to happen through a single
function, without requiring special handling for loads at each
call-site.
This may not be NFC because some callers currently don't do that
special handling.
More information about the All-commits
mailing list