diff options
author | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2019-04-17 02:12:23 +0000 |
commit | a86343512845c9c1fdbac865fea88aa5fce7142a (patch) | |
tree | 666fc6353de19ad8b00e56b67edd33f24104e4a7 /llvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll | |
parent | 7f8ca6e3679b3af951cb7a4b1377edfaa3244b93 (diff) | |
download | bcm5719-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/FunctionAttrs/out-of-bounds-iterator-bug.ll')
-rw-r--r-- | llvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll b/llvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll deleted file mode 100644 index f2294fe22ef..00000000000 --- a/llvm/test/Transforms/FunctionAttrs/out-of-bounds-iterator-bug.ll +++ /dev/null @@ -1,31 +0,0 @@ -; RUN: opt -functionattrs -S < %s | FileCheck %s -; RUN: opt -passes=function-attrs -S < %s | FileCheck %s - -; This checks for an iterator wraparound bug in FunctionAttrs. The previous -; "incorrect" behavior was inferring readonly for the %x argument in @caller. -; Inferring readonly for %x *is* actually correct, since @va_func is marked -; readonly, but FunctionAttrs was inferring readonly for the wrong reasons (and -; we _need_ the readonly on @va_func to trigger the problematic code path). It -; is possible that in the future FunctionAttrs becomes smart enough to infer -; readonly for %x for the right reasons, and at that point this test will have -; to be marked invalid. - -declare void @llvm.va_start(i8*) -declare void @llvm.va_end(i8*) - -define void @va_func(i32* readonly %b, ...) readonly nounwind { -; CHECK-LABEL: define void @va_func(i32* nocapture readonly %b, ...) - entry: - %valist = alloca i8 - call void @llvm.va_start(i8* %valist) - call void @llvm.va_end(i8* %valist) - %x = call i32 @caller(i32* %b) - ret void -} - -define i32 @caller(i32* %x) { -; CHECK-LABEL: define i32 @caller(i32* nocapture %x) - entry: - call void(i32*,...) @va_func(i32* null, i32 0, i32 0, i32 0, i32* %x) - ret i32 42 -} |