[all-commits] [llvm/llvm-project] 310adb: [InstCombine] reorder mask folds for efficiency
Sanjay Patel via All-commits
all-commits at lists.llvm.org
Mon Jun 13 06:57:27 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 310adb658c8c23b988dbdfb77e269133ba51ea2f
https://github.com/llvm/llvm-project/commit/310adb658c8c23b988dbdfb77e269133ba51ea2f
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
M llvm/test/Transforms/InstCombine/and.ll
Log Message:
-----------
[InstCombine] reorder mask folds for efficiency
This shows narrowing improvements on the logic tests
(transforms recently added with e247b0e5c921).
This is not a complete fix. That would require adding
folds to visitOr/visitXor. But it enables the expected
transforms for the basic patterns in the affected tests.
More information about the All-commits
mailing list