diff options
author | David Li <57157229+david-xl@users.noreply.github.com> | 2023-11-27 11:09:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-27 11:09:46 -0800 |
commit | c2ba2b219054ea1f898678cceea4a159f948fa98 (patch) | |
tree | 7819767ac7c6adb50cc753d6100de59989b503df /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | f9436464a9c8ecae8e7eac5be788bc48041b19b4 (diff) | |
download | llvm-c2ba2b219054ea1f898678cceea4a159f948fa98.zip llvm-c2ba2b219054ea1f898678cceea4a159f948fa98.tar.gz llvm-c2ba2b219054ea1f898678cceea4a159f948fa98.tar.bz2 |
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).
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions