diff options
| author | Sean Silva <chisophugis@gmail.com> | 2016-06-15 06:18:01 +0000 |
|---|---|---|
| committer | Sean Silva <chisophugis@gmail.com> | 2016-06-15 06:18:01 +0000 |
| commit | a4c2d150d0129364b546ead5785da0ea9e77acae (patch) | |
| tree | e82e3b4b6f348c7dcaa8bdd5b436d81a50a5be99 /llvm/test | |
| parent | 0272be206a0d1369736dfee456bfa7430ccd5e02 (diff) | |
| download | bcm5719-llvm-a4c2d150d0129364b546ead5785da0ea9e77acae.tar.gz bcm5719-llvm-a4c2d150d0129364b546ead5785da0ea9e77acae.zip | |
[PM] Port AlignmentFromAssumptions to the new PM.
This uses the "runImpl" pattern to share code between the old and new PM.
llvm-svn: 272757
Diffstat (limited to 'llvm/test')
3 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/AlignmentFromAssumptions/simple.ll b/llvm/test/Transforms/AlignmentFromAssumptions/simple.ll index 851e6dc3ccc..b91722839c6 100644 --- a/llvm/test/Transforms/AlignmentFromAssumptions/simple.ll +++ b/llvm/test/Transforms/AlignmentFromAssumptions/simple.ll @@ -1,5 +1,6 @@ target datalayout = "e-i64:64-f80:128-n8:16:32:64-S128" ; RUN: opt < %s -alignment-from-assumptions -S | FileCheck %s +; RUN: opt < %s -passes=alignment-from-assumptions -S | FileCheck %s define i32 @foo(i32* nocapture %a) nounwind uwtable readonly { entry: diff --git a/llvm/test/Transforms/AlignmentFromAssumptions/simple32.ll b/llvm/test/Transforms/AlignmentFromAssumptions/simple32.ll index 2edc2e95f41..e474bd33c31 100644 --- a/llvm/test/Transforms/AlignmentFromAssumptions/simple32.ll +++ b/llvm/test/Transforms/AlignmentFromAssumptions/simple32.ll @@ -1,5 +1,6 @@ target datalayout = "e-m:e-p:32:32-i64:64-v128:64:128-n32-S64" ; RUN: opt < %s -alignment-from-assumptions -S | FileCheck %s +; RUN: opt < %s -passes=alignment-from-assumptions -S | FileCheck %s define i32 @foo(i32* nocapture %a) nounwind uwtable readonly { entry: diff --git a/llvm/test/Transforms/AlignmentFromAssumptions/start-unk.ll b/llvm/test/Transforms/AlignmentFromAssumptions/start-unk.ll index 99533cf6ccb..9357734a350 100644 --- a/llvm/test/Transforms/AlignmentFromAssumptions/start-unk.ll +++ b/llvm/test/Transforms/AlignmentFromAssumptions/start-unk.ll @@ -1,4 +1,5 @@ ; RUN: opt -alignment-from-assumptions -S < %s | FileCheck %s +; RUN: opt -passes=alignment-from-assumptions -S < %s | FileCheck %s target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" target triple = "x86_64-unknown-linux-gnu" |

