[all-commits] [llvm/llvm-project] 510ef0: [NSan] Fix null-pointer crash on unsupported vecto...
Maosu Zhao via All-commits
all-commits at lists.llvm.org
Tue Jun 23 14:40:41 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 510ef079ffdd60a912ebf23911621944af757ac6
https://github.com/llvm/llvm-project/commit/510ef079ffdd60a912ebf23911621944af757ac6
Author: Maosu Zhao <maosu.zhao at intel.com>
Date: 2026-06-23 (Tue, 23 Jun 2026)
Changed paths:
M llvm/lib/Transforms/Instrumentation/NumericalStabilitySanitizer.cpp
M llvm/test/Instrumentation/NumericalStabilitySanitizer/non_float_store.ll
Log Message:
-----------
[NSan] Fix null-pointer crash on unsupported vector element sizes (#202270)
In propagateNonFTStore, BitcastTy is left null when a ConstantDataVector
has an element width other than 32/64/80 bits (e.g., f16, bf16, fp128).
Passing a null element type into VectorType::get crashes. Guard the
VectorType::get call so the unsupported case falls through to the "reset
shadow to unknown" path.
---------
Co-authored-by: Alexander Shaposhnikov <ashaposhnikov at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list