summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
committerEric Christopher <echristo@gmail.com>2019-04-17 02:12:23 +0000
commita86343512845c9c1fdbac865fea88aa5fce7142a (patch)
tree666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/InstCombine/strncpy_chk-2.ll
parent7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff)
downloadbcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.tar.gz
bcm5719-llvm-a86343512845c9c1fdbac865fea88aa5fce7142a.zip
Temporarily Revert "Add basic loop fusion pass."
As it's causing some bot failures (and per request from kbarton). This reverts commit r358543/ab70da07286e618016e78247e4a24fcb84077fda. llvm-svn: 358546
Diffstat (limited to 'llvm/test/Transforms/InstCombine/strncpy_chk-2.ll')
-rw-r--r--llvm/test/Transforms/InstCombine/strncpy_chk-2.ll21
1 files changed, 0 insertions, 21 deletions
diff --git a/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll b/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll
deleted file mode 100644
index 89ecd46c04a..00000000000
--- a/llvm/test/Transforms/InstCombine/strncpy_chk-2.ll
+++ /dev/null
@@ -1,21 +0,0 @@
-; Test that lib call simplification doesn't simplify __strncpy_chk calls
-; with the wrong prototype.
-;
-; RUN: opt < %s -instcombine -S | FileCheck %s
-
-target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128"
-
-@a = common global [60 x i16] zeroinitializer, align 1
-@b = common global [60 x i16] zeroinitializer, align 1
-
-define void @test_no_simplify() {
-; CHECK-LABEL: @test_no_simplify(
- %dst = getelementptr inbounds [60 x i16], [60 x i16]* @a, i32 0, i32 0
- %src = getelementptr inbounds [60 x i16], [60 x i16]* @b, i32 0, i32 0
-
-; CHECK-NEXT: call i16* @__strncpy_chk
- call i16* @__strncpy_chk(i16* %dst, i16* %src, i32 60, i32 60)
- ret void
-}
-
-declare i16* @__strncpy_chk(i16*, i16*, i32, i32)
OpenPOWER on IntegriCloud