[PATCH] D62997: [LV] Share the LV illegality reporting with LoopVectorize. NFC.
Pavel Samolysov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 03:16:32 PDT 2019
psamolysov added a comment.
@hsaito
Here is the log of lit on Vectorization:
- Testing: 319 tests, 8 threads --
Testing: 0 .. 10.. 20.. 30.. 40.
FAIL: LLVM :: Transforms/LoopVectorize/control-flow.ll (150 of 319)
- TEST 'LLVM :: Transforms/LoopVectorize/control-flow.ll' FAILED ********************
Script:
-------
: 'RUN: at line 1'; bin\opt.exe < llvm\test\Transforms\LoopVectorize\control-flow.ll -loop-vectorize -force-vector-width=4 -S -pass-remarks-missed='loop-vectorize' 2>&1 | bin\filecheck.exe llvm\test\Transforms\LoopVectorize\control-flow.ll
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exit Code: 1
Command Output (stdout):
------------------------
$ ":" "RUN: at line 1"
$ "bin\opt.exe" "-loop-vectorize" "-force-vector-width=4" "-S" "-pass-remarks-missed=loop-vectorize"
$ "bin\filecheck.exe" "llvm\test\Transforms\LoopVectorize\control-flow.ll"
command stderr:
===============
llvm\test\Transforms\LoopVectorize\control-flow.ll:13:10: error: CHECK: expected string not found in input
; CHECK: remark: source.cpp:5:9: loop not vectorized: loop control flow is not understood by vectorizer
^
<stdin>:1:1: note: scanning from here
remark: source.cpp:5:9: loop not vectorized: loop control flow is not understood by analyzer
^
error: command failed with exit status: 1
-
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: Transforms/LoopVectorize/no_switch.ll (242 of 319)
- TEST 'LLVM :: Transforms/LoopVectorize/no_switch.ll' FAILED ********************
Script:
-------
: 'RUN: at line 1'; bin\opt.exe < llvm\test\Transforms\LoopVectorize\no_switch.ll -loop-vectorize -force-vector-width=4 -transform-warning -S 2>&1 | bin\filecheck.exe llvm\test\Transforms\LoopVectorize\no_switch.ll
: 'RUN: at line 2'; bin\opt.exe < llvm\test\Transforms\LoopVectorize\no_switch.ll -loop-vectorize -force-vector-width=1 -transform-warning -S 2>&1 | bin\filecheck.exe llvm\test\Transforms\LoopVectorize\no_switch.ll -check-prefix=NOANALYSIS
: 'RUN: at line 3'; bin\opt.exe < llvm\test\Transforms\LoopVectorize\no_switch.ll -loop-vectorize -force-vector-width=4 -transform-warning -pass-remarks-missed='loop-vectorize' -S 2>&1 | bin\filecheck.exe llvm\test\Transforms\LoopVectorize\no_switch.ll -check-prefix=MOREINFO
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exit Code: 1
Command Output (stdout):
------------------------
$ ":" "RUN: at line 1"
$ "bin\opt.exe" "-loop-vectorize" "-force-vector-width=4" "-transform-warning" "-S"
$ "bin\filecheck.exe" "llvm\test\Transforms\LoopVectorize\no_switch.ll"
command stderr:
===============
llvm\test\Transforms\LoopVectorize\no_switch.ll:5:10: error: CHECK: expected string not found in input
; CHECK: remark: source.cpp:4:5: loop not vectorized: loop contains a switch statement
^
<stdin>:1:1: note: scanning from here
warning: source.cpp:4:5: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
^
<stdin>:1:2: note: possible intended match here
warning: source.cpp:4:5: loop not vectorized: the optimizer was unable to perform the requested transformation; the transformation might be disabled or specified as part of an unsupported transformation ordering
^
error: command failed with exit status: 1
-
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: LLVM :: Transforms/LoopVectorize/pr38800.ll (272 of 319)
- TEST 'LLVM :: Transforms/LoopVectorize/pr38800.ll' FAILED ********************
Script:
-------
: 'RUN: at line 1'; bin\opt.exe -loop-vectorize -force-vector-width=2 -pass-remarks-missed='loop-vectorize' -S < llvm\test\Transforms\LoopVectorize\pr38800.ll 2>&1 | bin\filecheck.exe llvm\test\Transforms\LoopVectorize\pr38800.ll
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Exit Code: 1
Command Output (stdout):
------------------------
$ ":" "RUN: at line 1"
$ "bin\opt.exe" "-loop-vectorize" "-force-vector-width=2" "-pass-remarks-missed=loop-vectorize" "-S"
$ "bin\filecheck.exe" "llvm\test\Transforms\LoopVectorize\pr38800.ll"
command stderr:
===============
llvm\test\Transforms\LoopVectorize\pr38800.ll:3:10: error: CHECK: expected string not found in input
; CHECK: remark: <unknown>:0:0: loop not vectorized: integer loop induction variable could not be identified
^
<stdin>:1:1: note: scanning from here
remark: <unknown>:0:0: loop not vectorized
^
error: command failed with exit status: 1
-
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 5.85s
********************
Failing Tests (3):
LLVM :: Transforms/LoopVectorize/control-flow.ll
LLVM :: Transforms/LoopVectorize/no_switch.ll
LLVM :: Transforms/LoopVectorize/pr38800.ll
Expected Passes : 261
Unsupported Tests : 55
Unexpected Failures: 3
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62997/new/
https://reviews.llvm.org/D62997
More information about the llvm-commits
mailing list