summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2019-01-17 21:42:36 +0000
committerVedant Kumar <vsk@apple.com>2019-01-17 21:42:36 +0000
commit4541be0686e682ea6e30933d9893fd2701b0e27f (patch)
tree37bf006b765992c635ac7b7073752bf5dbeb6491 /llvm/test
parentb2d6c298af3dd8230d2be0cd8e40dcddbd9beecf (diff)
downloadbcm5719-llvm-4541be0686e682ea6e30933d9893fd2701b0e27f.tar.gz
bcm5719-llvm-4541be0686e682ea6e30933d9893fd2701b0e27f.zip
[HotColdSplit] Relax requirement that the cold sink block be extractable
Relaxing this requirement creates opportunities to split code dominated by an EH pad. Tested on LNT+externals. llvm-svn: 351483
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Transforms/HotColdSplit/eh-pads.ll3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/HotColdSplit/eh-pads.ll b/llvm/test/Transforms/HotColdSplit/eh-pads.ll
index caf02e9002d..979d005c1ce 100644
--- a/llvm/test/Transforms/HotColdSplit/eh-pads.ll
+++ b/llvm/test/Transforms/HotColdSplit/eh-pads.ll
@@ -58,6 +58,9 @@ normal:
; CHECK: sideeffect(i32 0)
; CHECK: sink
+; CHECK-LABEL: define {{.*}}@bar.cold.1(
+; CHECK: sideeffect(i32 1)
+
declare void @sideeffect(i32)
declare void @sink() cold
OpenPOWER on IntegriCloud