summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-11-14 01:30:04 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-11-14 01:30:04 +0000
commit00a301d56897719fb5674d6e24e054775b8bbfa7 (patch)
treeffc4bc708aa1be2f3d2e2116b4beee182174e69d /llvm/test
parentc02eacf4c4e1c7ab2a855fd79ee4184c4d77084e (diff)
downloadbcm5719-llvm-00a301d56897719fb5674d6e24e054775b8bbfa7.tar.gz
bcm5719-llvm-00a301d56897719fb5674d6e24e054775b8bbfa7.zip
[PM] Port BoundsChecking to the new PM.
Registers it and everything, updates all the references, etc. Next patch will add support to Clang's `-fexperimental-new-pass-manager` path to actually enable BoundsChecking correctly. Differential Revision: https://reviews.llvm.org/D39084 llvm-svn: 318128
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Instrumentation/BoundsChecking/simple.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Instrumentation/BoundsChecking/simple.ll b/llvm/test/Instrumentation/BoundsChecking/simple.ll
index 5fae2f48c28..db1e1eeb000 100644
--- a/llvm/test/Instrumentation/BoundsChecking/simple.ll
+++ b/llvm/test/Instrumentation/BoundsChecking/simple.ll
@@ -1,4 +1,5 @@
; RUN: opt < %s -bounds-checking -S | FileCheck %s
+; RUN: opt < %s -passes=bounds-checking -S | FileCheck %s
target datalayout = "e-p:64:64:64-p1:16:16:16-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128"
@.str = private constant [8 x i8] c"abcdefg\00" ; <[8 x i8]*>
OpenPOWER on IntegriCloud