diff options
author | Florian Hahn <flo@fhahn.com> | 2024-08-22 21:38:06 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-08-22 21:38:06 +0100 |
commit | cb4efe1d078144a72306732a56afea3885650e8d (patch) | |
tree | 975c825c639f566f465ce99d616493ad66af0e1a /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | a2d8743cc86f96f6b1cbd85798328bd3fb2bf4de (diff) | |
download | llvm-cb4efe1d078144a72306732a56afea3885650e8d.zip llvm-cb4efe1d078144a72306732a56afea3885650e8d.tar.gz llvm-cb4efe1d078144a72306732a56afea3885650e8d.tar.bz2 |
[VPlan] Don't trigger VF assertion if VPlan has extra simplifications.
There are cases where VPlans contain some simplifications that are very
hard to accurately account for up-front in the legacy cost model. Those
cases are caused by un-simplified inputs, which trigger the assert
ensuring both the legacy and VPlan-based cost model agree on the VF.
To avoid false positives due to missed simplifications in general, only
trigger the assert if the chosen VPlan doesn't contain any additional
simplifications.
Fixes https://github.com/llvm/llvm-project/issues/104714.
Fixes https://github.com/llvm/llvm-project/issues/105713.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions