diff options
| author | Adam Nemet <anemet@apple.com> | 2017-11-28 06:22:29 +0000 |
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2017-11-28 06:22:29 +0000 |
| commit | bf74f64e6718b73f48da255c7331d6d5ab3c601e (patch) | |
| tree | a3ab577519d0339c560deeb5ed7c3ed85d8358ac /llvm/test/tools/opt-viewer/Inputs | |
| parent | 0db60f36371ce1ef4b4ed60c35d6090fd8ced0d9 (diff) | |
| download | bcm5719-llvm-bf74f64e6718b73f48da255c7331d6d5ab3c601e.tar.gz bcm5719-llvm-bf74f64e6718b73f48da255c7331d6d5ab3c601e.zip | |
Revert "Add opt-viewer testing"
This reverts commit r319073.
Bot fails with a mismatch that looks like pygments-generated HTML.
llvm-svn: 319146
Diffstat (limited to 'llvm/test/tools/opt-viewer/Inputs')
| -rw-r--r-- | llvm/test/tools/opt-viewer/Inputs/basic/or.c | 21 | ||||
| -rw-r--r-- | llvm/test/tools/opt-viewer/Inputs/basic/or.h | 16 | ||||
| -rw-r--r-- | llvm/test/tools/opt-viewer/Inputs/basic/or.yaml | 227 |
3 files changed, 0 insertions, 264 deletions
diff --git a/llvm/test/tools/opt-viewer/Inputs/basic/or.c b/llvm/test/tools/opt-viewer/Inputs/basic/or.c deleted file mode 100644 index 6b1c4744cda..00000000000 --- a/llvm/test/tools/opt-viewer/Inputs/basic/or.c +++ /dev/null @@ -1,21 +0,0 @@ -void bar(); -void foo() { bar(); } - -#include "or.h" - -void Test(int *res, int *c, int *d, int *p, int n) { - int i; - -#pragma clang loop vectorize(assume_safety) - for (i = 0; i < 1600; i++) { - res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; - } - - for (i = 0; i < 16; i++) { - res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; - } - - foo(); - - foo(); bar(); foo(); -} diff --git a/llvm/test/tools/opt-viewer/Inputs/basic/or.h b/llvm/test/tools/opt-viewer/Inputs/basic/or.h deleted file mode 100644 index a1c47edb3d1..00000000000 --- a/llvm/test/tools/opt-viewer/Inputs/basic/or.h +++ /dev/null @@ -1,16 +0,0 @@ -void TestH(int *res, int *c, int *d, int *p, int n) { - int i; - -#pragma clang loop vectorize(assume_safety) - for (i = 0; i < 1600; i++) { - res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; - } - - for (i = 0; i < 16; i++) { - res[i] = (p[i] == 0) ? res[i] : res[i] + d[i]; - } - - foo(); - - foo(); bar(); foo(); -} diff --git a/llvm/test/tools/opt-viewer/Inputs/basic/or.yaml b/llvm/test/tools/opt-viewer/Inputs/basic/or.yaml deleted file mode 100644 index 11c5528b43f..00000000000 --- a/llvm/test/tools/opt-viewer/Inputs/basic/or.yaml +++ /dev/null @@ -1,227 +0,0 @@ ---- !Missed -Pass: inline -Name: NoDefinition -DebugLoc: { File: basic/or.c, Line: 2, Column: 14 } -Function: foo -Args: - - Callee: bar - - String: ' will not be inlined into ' - - Caller: foo - - String: ' because its definition is unavailable' -... ---- !Missed -Pass: inline -Name: NoDefinition -DebugLoc: { File: basic/or.h, Line: 15, Column: 10 } -Function: TestH -Args: - - Callee: bar - - String: ' will not be inlined into ' - - Caller: TestH - - String: ' because its definition is unavailable' -... ---- !Analysis -Pass: inline -Name: CanBeInlined -DebugLoc: { File: basic/or.h, Line: 13, Column: 3 } -Function: TestH -Args: - - Callee: foo - - String: ' can be inlined into ' - - Caller: TestH - - String: ' with cost=' - - Cost: '30' - - String: ' (threshold=' - - Threshold: '412' - - String: ')' -... ---- !Passed -Pass: inline -Name: Inlined -DebugLoc: { File: basic/or.h, Line: 13, Column: 3 } -Function: TestH -Args: - - Callee: foo - - String: ' inlined into ' - - Caller: TestH -... ---- !Analysis -Pass: inline -Name: CanBeInlined -DebugLoc: { File: basic/or.h, Line: 15, Column: 3 } -Function: TestH -Args: - - Callee: foo - - String: ' can be inlined into ' - - Caller: TestH - - String: ' with cost=' - - Cost: '30' - - String: ' (threshold=' - - Threshold: '412' - - String: ')' -... ---- !Passed -Pass: inline -Name: Inlined -DebugLoc: { File: basic/or.h, Line: 15, Column: 3 } -Function: TestH -Args: - - Callee: foo - - String: ' inlined into ' - - Caller: TestH -... ---- !Analysis -Pass: inline -Name: CanBeInlined -DebugLoc: { File: basic/or.h, Line: 15, Column: 17 } -Function: TestH -Args: - - Callee: foo - - String: ' can be inlined into ' - - Caller: TestH - - String: ' with cost=' - - Cost: '30' - - String: ' (threshold=' - - Threshold: '412' - - String: ')' -... ---- !Passed -Pass: inline -Name: Inlined -DebugLoc: { File: basic/or.h, Line: 15, Column: 17 } -Function: TestH -Args: - - Callee: foo - - String: ' inlined into ' - - Caller: TestH -... ---- !Passed -Pass: loop-unroll -Name: FullyUnrolled -DebugLoc: { File: basic/or.h, Line: 9, Column: 3 } -Function: TestH -Args: - - String: 'completely unrolled loop with ' - - UnrollCount: '16' - - String: ' iterations' -... ---- !Missed -Pass: inline -Name: NoDefinition -DebugLoc: { File: basic/or.c, Line: 20, Column: 10 } -Function: Test -Args: - - Callee: bar - - String: ' will not be inlined into ' - - Caller: Test - - String: ' because its definition is unavailable' -... ---- !Analysis -Pass: inline -Name: CanBeInlined -DebugLoc: { File: basic/or.c, Line: 18, Column: 3 } -Function: Test -Args: - - Callee: foo - - String: ' can be inlined into ' - - Caller: Test - - String: ' with cost=' - - Cost: '30' - - String: ' (threshold=' - - Threshold: '412' - - String: ')' -... ---- !Passed -Pass: inline -Name: Inlined -DebugLoc: { File: basic/or.c, Line: 18, Column: 3 } -Function: Test -Args: - - Callee: foo - - String: ' inlined into ' - - Caller: Test -... ---- !Analysis -Pass: inline -Name: CanBeInlined -DebugLoc: { File: basic/or.c, Line: 20, Column: 3 } -Function: Test -Args: - - Callee: foo - - String: ' can be inlined into ' - - Caller: Test - - String: ' with cost=' - - Cost: '30' - - String: ' (threshold=' - - Threshold: '412' - - String: ')' -... ---- !Passed -Pass: inline -Name: Inlined -DebugLoc: { File: basic/or.c, Line: 20, Column: 3 } -Function: Test -Args: - - Callee: foo - - String: ' inlined into ' - - Caller: Test -... ---- !Analysis -Pass: inline -Name: CanBeInlined -DebugLoc: { File: basic/or.c, Line: 20, Column: 17 } -Function: Test -Args: - - Callee: foo - - String: ' can be inlined into ' - - Caller: Test - - String: ' with cost=' - - Cost: '30' - - String: ' (threshold=' - - Threshold: '412' - - String: ')' -... ---- !Passed -Pass: inline -Name: Inlined -DebugLoc: { File: basic/or.c, Line: 20, Column: 17 } -Function: Test -Args: - - Callee: foo - - String: ' inlined into ' - - Caller: Test -... ---- !Passed -Pass: loop-unroll -Name: FullyUnrolled -DebugLoc: { File: basic/or.c, Line: 14, Column: 3 } -Function: Test -Args: - - String: 'completely unrolled loop with ' - - UnrollCount: '16' - - String: ' iterations' -... ---- !Passed -Pass: loop-vectorize -Name: Vectorized -DebugLoc: { File: basic/or.h, Line: 5, Column: 3 } -Function: TestH -Args: - - String: 'vectorized loop (vectorization width: ' - - VectorizationFactor: '4' - - String: ', interleaved count: ' - - InterleaveCount: '2' - - String: ')' -... ---- !Passed -Pass: loop-vectorize -Name: Vectorized -DebugLoc: { File: basic/or.c, Line: 10, Column: 3 } -Function: Test -Args: - - String: 'vectorized loop (vectorization width: ' - - VectorizationFactor: '4' - - String: ', interleaved count: ' - - InterleaveCount: '2' - - String: ')' -... |

