mirror of
https://github.com/intel/llvm.git
synced 2026-02-05 22:17:23 +08:00
Because we are generating uninitialized value for no integer type and use `isUninitialized()` to judge if it is valid after https://reviews.llvm.org/rG93f081c896536112e1ca8133991d23cb1134793a, we should check the value before use `getValue` to get it. Fixes https://github.com/llvm/llvm-project/issues/59984. Reviewed By: Mogball Differential Revision: https://reviews.llvm.org/D141661