summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/FunctionAttrs/liveness.ll
diff options
context:
space:
mode:
authorJohannes Doerfert <jdoerfert@anl.gov>2019-09-04 16:26:20 +0000
committerJohannes Doerfert <jdoerfert@anl.gov>2019-09-04 16:26:20 +0000
commit97fd582b91581f0b4cb10c77813f1a284bd69a92 (patch)
treeed49e1dbf5c71e69d52d1b6410d2a7cf75b78d05 /llvm/test/Transforms/FunctionAttrs/liveness.ll
parentd9af712da44d960c58310718d9ccbf7056566b98 (diff)
downloadbcm5719-llvm-97fd582b91581f0b4cb10c77813f1a284bd69a92.tar.gz
bcm5719-llvm-97fd582b91581f0b4cb10c77813f1a284bd69a92.zip
[Attributor] Use the white list for attributes consistently
Summary: We create attributes on-demand so we need to check the white list on-demand. This also unifies the location at which we create, initialize, and eventually invalidate new abstract attributes. The tests show mixed results, a few more call site attributes are determined which can cause more iterations. Reviewers: uenoku, sstefan1 Subscribers: hiraditya, bollu, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66913 llvm-svn: 370922
Diffstat (limited to 'llvm/test/Transforms/FunctionAttrs/liveness.ll')
-rw-r--r--llvm/test/Transforms/FunctionAttrs/liveness.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/Transforms/FunctionAttrs/liveness.ll b/llvm/test/Transforms/FunctionAttrs/liveness.ll
index a8dd12cd1a5..fa37fa8ad80 100644
--- a/llvm/test/Transforms/FunctionAttrs/liveness.ll
+++ b/llvm/test/Transforms/FunctionAttrs/liveness.ll
@@ -1,4 +1,4 @@
-; RUN: opt -attributor --attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=4 -S < %s | FileCheck %s
+; RUN: opt -attributor --attributor-disable=false -attributor-max-iterations-verify -attributor-max-iterations=7 -S < %s | FileCheck %s
declare void @no_return_call() nofree noreturn nounwind readnone
@@ -15,7 +15,7 @@ declare i32 @bar() nosync readnone
; This internal function has no live call sites, so all its BBs are considered dead,
; and nothing should be deduced for it.
-; CHECK-NOT: define internal i32 @dead_internal_func(i32 %0)
+; FIXME-NOT: define internal i32 @dead_internal_func(i32 %0)
define internal i32 @dead_internal_func(i32 %0) {
%2 = icmp slt i32 %0, 1
br i1 %2, label %3, label %5
OpenPOWER on IntegriCloud