summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll
diff options
context:
space:
mode:
authorXinliang David Li <davidxl@google.com>2017-12-08 19:38:07 +0000
committerXinliang David Li <davidxl@google.com>2017-12-08 19:38:07 +0000
commitd91057bf529e45fd915628ab990b750a5f8f7430 (patch)
tree4c87b09a5984b8aebab98adb612536c5c6a21e19 /llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll
parent0eae123d9eca73b9bc6642b06b5fba564d366595 (diff)
downloadbcm5719-llvm-d91057bf529e45fd915628ab990b750a5f8f7430.tar.gz
bcm5719-llvm-d91057bf529e45fd915628ab990b750a5f8f7430.zip
Revert r320104: infinite loop profiling bug fix
Causes unexpected memory issue with New PM this time. The new PM invalidates BPI but not BFI, leaving the reference to BPI from BFI invalid. Abandon this patch. There is a more general solution which also handles runtime infinite loop (but not statically). llvm-svn: 320180
Diffstat (limited to 'llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll')
-rw-r--r--llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll18
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll b/llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll
deleted file mode 100644
index f200fc3857a..00000000000
--- a/llvm/test/Transforms/PGOProfile/infinite_loop_gen.ll
+++ /dev/null
@@ -1,18 +0,0 @@
-; RUN: opt < %s -pgo-instr-gen -S -o - | FileCheck %s
-
-define void @foo() {
-entry:
- br label %while.body
-; CHECK: llvm.instrprof.increment
-
- while.body: ; preds = %entry, %while.body
-; CHECK: llvm.instrprof.increment
- call void (...) @bar() #2
- br label %while.body
-}
-
-declare void @bar(...)
-
-
-attributes #0 = { nounwind }
-
OpenPOWER on IntegriCloud