llvm-project
3192fe2c - [VPlan] Fall back to legacy cost model if PtrSCEV is nullptr.

Commit
72 days ago
[VPlan] Fall back to legacy cost model if PtrSCEV is nullptr. There are some cases when PtrSCEV can be nullptr. Fall back to legacy cost model, to not call isLoopInvariant with nullptr. Fixes a crash after 0c4f8094939d2.
Author
Committer
Parents
Loading