[all-commits] [llvm/llvm-project] ef256e: [InstCombine] bitcast (extractelement <1 x elt>, d...
ZCBing via All-commits
all-commits at lists.llvm.org
Sun May 29 19:18:21 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ef256ed58ebf4689ec8d8fffaee529063f0b8729
https://github.com/llvm/llvm-project/commit/ef256ed58ebf4689ec8d8fffaee529063f0b8729
Author: Chenbing Zheng <Chenbing.Zheng at streamcomputing.com>
Date: 2022-05-30 (Mon, 30 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 (extractelement <1 x elt>, dest) -> bitcast(<1 x elt>, dest)
Only solve dest type is vector to avoid inverse transform in visitBitCast.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D125951
More information about the All-commits
mailing list