[all-commits] [llvm/llvm-project] 2b6277: [ConstraintElimination] Decompose or instruction i...
Zain Jaffal via All-commits
all-commits at lists.llvm.org
Tue Mar 7 06:11:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b62774b653affb7e5ef35e25745e80612b990a9
https://github.com/llvm/llvm-project/commit/2b62774b653affb7e5ef35e25745e80612b990a9
Author: Zain Jaffal <z_jaffal at apple.com>
Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths:
M llvm/lib/Transforms/Scalar/ConstraintElimination.cpp
M llvm/test/Transforms/ConstraintElimination/or.ll
Log Message:
-----------
[ConstraintElimination] Decompose or instruction if the constant operand < 2^known_zero_bits of the first operand.
The or operation can be represented as an add instruction.
Reviewed By: fhahn
Differential Revision: https://reviews.llvm.org/D142546
More information about the All-commits
mailing list