[all-commits] [llvm/llvm-project] 41aab9: [InstCombine] bitcast(logic(bitcast(X), bitcast(Y)...
ZCBing via All-commits
all-commits at lists.llvm.org
Wed May 25 20:05:01 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 41aab93afc23e8f338c3617161e42d7ff54da74b
https://github.com/llvm/llvm-project/commit/41aab93afc23e8f338c3617161e42d7ff54da74b
Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
Date: 2022-05-26 (Thu, 26 May 2022)
Changed paths:
M llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
M llvm/test/Transforms/InstCombine/bitcast-inseltpoison.ll
M llvm/test/Transforms/InstCombine/bitcast.ll
Log Message:
-----------
[InstCombine] bitcast(logic(bitcast(X), bitcast(Y))) -> bitcast'(logic(bitcast'(X), Y))
This patch break foldBitCastBitwiseLogic limite the destination
must have an integer element type, and eliminate one bitcast by
doing the logic op in the type of the input that has an integer
element type.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D126184
More information about the All-commits
mailing list