[all-commits] [llvm/llvm-project] 64b267: [InstCombine] fold ctlz/cttz-of-select with 1 or m...
RotateRight via All-commits
all-commits at lists.llvm.org
Mon Jun 21 08:11:27 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 64b2676ca8290c7ff971c6f5b7a355b0ae7693de
https://github.com/llvm/llvm-project/commit/64b2676ca8290c7ff971c6f5b7a355b0ae7693de
Author: Sanjay Patel <spatel at rotateright.com>
Date: 2021-06-21 (Mon, 21 Jun 2021)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
M llvm/test/Transforms/InstCombine/intrinsic-select.ll
Log Message:
-----------
[InstCombine] fold ctlz/cttz-of-select with 1 or more constant arms
Building on:
4c44b02d87
...and adding handling for the extra operand in these intrinsics.
This pattern is discussed in:
https://llvm.org/PR50140
More information about the All-commits
mailing list