[all-commits] [llvm/llvm-project] 741975: [InstCombine][InstSimplify] Pass `SimplifyQuery` t...
Yingwei Zheng via All-commits
all-commits at lists.llvm.org
Sun Dec 3 10:26:53 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 741975df928208d26fb61465f5f722dfa36cc9c7
https://github.com/llvm/llvm-project/commit/741975df928208d26fb61465f5f722dfa36cc9c7
Author: Yingwei Zheng <dtcxzyw2333 at gmail.com>
Date: 2023-12-04 (Mon, 04 Dec 2023)
Changed paths:
M llvm/lib/Analysis/InstructionSimplify.cpp
M llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
Log Message:
-----------
[InstCombine][InstSimplify] Pass `SimplifyQuery` to `computeKnownBits` directly. NFC. (#74246)
This patch passes `SimplifyQuery` to `computeKnownBits` directly in
`InstSimplify` and `InstCombine`.
As the `DomConditionCache` in #73662 is only used in `InstCombine`, it
is inconvenient to introduce a new argument `DC` to `computeKnownBits`.
More information about the All-commits
mailing list