[all-commits] [llvm/llvm-project] fd90f5: [InstCombine] improve efficiency of sub demanded b...
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Thu Oct 27 12:37:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd90f542cf60c2a4e735f35513268c052686dbd6
https://github.com/llvm/llvm-project/commit/fd90f542cf60c2a4e735f35513268c052686dbd6
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-10-27 (Thu, 27 Oct 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp
Log Message:
-----------
[InstCombine] improve efficiency of sub demanded bits; NFC
There's no reason to shrink a constant or simplify
an operand in 2 steps.
This matches what we currently do for 'add' (although that
seems like it should be altered to handle the commutative
case).
More information about the All-commits
mailing list