aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorFlorian Hahn <flo@fhahn.com>2024-08-22 21:38:06 +0100
committerFlorian Hahn <flo@fhahn.com>2024-08-22 21:38:06 +0100
commitcb4efe1d078144a72306732a56afea3885650e8d (patch)
tree975c825c639f566f465ce99d616493ad66af0e1a /clang/lib/CodeGen/CodeGenFunction.cpp
parenta2d8743cc86f96f6b1cbd85798328bd3fb2bf4de (diff)
downloadllvm-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