summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/SCCP
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2018-06-27 00:47:52 +0000
committerVedant Kumar <vsk@apple.com>2018-06-27 00:47:52 +0000
commitd13536e9f3e196b0fe133387d14c94a4ac0a51db (patch)
tree5722a091ea91098679e5c95a5ca7d89296dd6613 /llvm/test/Transforms/SCCP
parent33aba0eb4c7e582577355659a593eef1ddcefee8 (diff)
downloadbcm5719-llvm-d13536e9f3e196b0fe133387d14c94a4ac0a51db.tar.gz
bcm5719-llvm-d13536e9f3e196b0fe133387d14c94a4ac0a51db.zip
[Debugify] Handle failure to get fragment size when checking dbg.values
It's not possible to get the fragment size of some dbg.values. Teach the mis-sized dbg.value diagnostic to detect this scenario and bail out. Tested with: $ find test/Transforms -print -exec opt -debugify-each -instcombine {} \; llvm-svn: 335695
Diffstat (limited to 'llvm/test/Transforms/SCCP')
-rw-r--r--llvm/test/Transforms/SCCP/ipsccp-basic.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SCCP/ipsccp-basic.ll b/llvm/test/Transforms/SCCP/ipsccp-basic.ll
index 4db5c4478d3..b7db8689115 100644
--- a/llvm/test/Transforms/SCCP/ipsccp-basic.ll
+++ b/llvm/test/Transforms/SCCP/ipsccp-basic.ll
@@ -1,4 +1,5 @@
; RUN: opt < %s -ipsccp -S | FileCheck %s
+; RUN: opt < %s -enable-debugify -ipsccp -debugify-quiet -disable-output
;;======================== test1
OpenPOWER on IntegriCloud