aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ExpandVectorPredication.cpp
diff options
context:
space:
mode:
authorHaojian Wu <hokein.wu@gmail.com>2022-05-25 14:58:28 +0200
committerHaojian Wu <hokein.wu@gmail.com>2022-05-25 15:14:35 +0200
commitc673d67bc76bfa31b78e3eee23899b9f262158ea (patch)
treed6acfaab8a1182bc0e82550c03819733b36bdc7f /llvm/lib/CodeGen/ExpandVectorPredication.cpp
parent788463e72af847d11476793fdd5d57a104b18b3d (diff)
downloadllvm-c673d67bc76bfa31b78e3eee23899b9f262158ea.zip
llvm-c673d67bc76bfa31b78e3eee23899b9f262158ea.tar.gz
llvm-c673d67bc76bfa31b78e3eee23899b9f262158ea.tar.bz2
[AST] Dont invalidate a ref-type var decl if it has no initializer.
This would allow more AST nodes being preserved for broken code, and have a more consistent valid bit for ref-type var decl (currently, a ref-type var decl with a broken initializer is valid). Per https://reviews.llvm.org/D76831#1973053, the initializer of a variable should play no part in its "invalid" bit. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D122935
Diffstat (limited to 'llvm/lib/CodeGen/ExpandVectorPredication.cpp')
0 files changed, 0 insertions, 0 deletions