diff options
| author | Tobias Grosser <tobias@grosser.es> | 2017-03-07 15:17:23 +0000 |
|---|---|---|
| committer | Tobias Grosser <tobias@grosser.es> | 2017-03-07 15:17:23 +0000 |
| commit | 2dc1f547ae07b39cf150ae46f76747221b23efc5 (patch) | |
| tree | 4aa50d59e759d654ddd11aa31d2ccfd2b615b82d /polly/test/ScopInfo/memcpy-raw-source.ll | |
| parent | c8de15bdda22da6103f69a30c5560cad17c058a3 (diff) | |
| download | bcm5719-llvm-2dc1f547ae07b39cf150ae46f76747221b23efc5.tar.gz bcm5719-llvm-2dc1f547ae07b39cf150ae46f76747221b23efc5.zip | |
[tests] Make sure tests do not end in 'unreachable'
There is no point in optimizing unreachable code, hence our test cases should
always return.
This commit is part of a series that makes Polly more robust on the presence of
unreachables.
llvm-svn: 297147
Diffstat (limited to 'polly/test/ScopInfo/memcpy-raw-source.ll')
| -rw-r--r-- | polly/test/ScopInfo/memcpy-raw-source.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/test/ScopInfo/memcpy-raw-source.ll b/polly/test/ScopInfo/memcpy-raw-source.ll index 7041a6f79b8..309e9630f59 100644 --- a/polly/test/ScopInfo/memcpy-raw-source.ll +++ b/polly/test/ScopInfo/memcpy-raw-source.ll @@ -50,7 +50,7 @@ for.body74: ; preds = %for.body74, %for.en br i1 %exitcond57, label %for.body74, label %for.inc104 for.inc104: ; preds = %for.body74 - unreachable + ret void } attributes #0 = { argmemonly nounwind } |

