aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2021-03-12 07:39:53 -0800
committerAlexey Bataev <a.bataev@outlook.com>2021-03-18 06:11:08 -0700
commitb3ced9852c7e6cc2dab61b6adb5c92812c99b00e (patch)
treefb096fa4aeaa5d525029c39208effddebec46107 /flang/lib/Frontend/CompilerInvocation.cpp
parenteb4c85e4501e67f48539bed0e622996ec75d1bd1 (diff)
downloadllvm-b3ced9852c7e6cc2dab61b6adb5c92812c99b00e.zip
llvm-b3ced9852c7e6cc2dab61b6adb5c92812c99b00e.tar.gz
llvm-b3ced9852c7e6cc2dab61b6adb5c92812c99b00e.tar.bz2
[SLP]Fix crash on extending scheduling region.
If SLP vectorizer tries to extend the scheduling region and runs out of the budget too early, but still extends the region to the new ending instructions (i.e., it was able to extend the region for the first instruction in the bundle, but not for the second), the compiler need to recalculate dependecies in full, just like if the extending was successfull. Without it, the schedule data chunks may end up with the wrong number of (unscheduled) dependecies and it may end up with the incorrect function, where the vectorized instruction does not dominate on the extractelement instruction. Differential Revision: https://reviews.llvm.org/D98531
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions