[all-commits] [llvm/llvm-project] c2ba2b: Fix ISel crash when lowering BUILD_VECTOR (#73186)
David Li via All-commits
all-commits at lists.llvm.org
Mon Nov 27 11:10:02 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c2ba2b219054ea1f898678cceea4a159f948fa98
https://github.com/llvm/llvm-project/commit/c2ba2b219054ea1f898678cceea4a159f948fa98
Author: David Li <57157229+david-xl at users.noreply.github.com>
Date: 2023-11-27 (Mon, 27 Nov 2023)
Changed paths:
M llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
M llvm/test/CodeGen/X86/shuffle-half.ll
Log Message:
-----------
Fix ISel crash when lowering BUILD_VECTOR (#73186)
512bit vpbroadcastw is available only with AVX512BW. Avoid lowering
BUILD_VEC into vbroard_cast node when the condition is not met. This
fixed a crash (see the added new test).
More information about the All-commits
mailing list