summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-03-04 10:46:01 +0000
committerBill Wendling <isanbard@gmail.com>2012-03-04 10:46:01 +0000
commit97b935962308680e9f18bba06bcbdd05fdd7b4db (patch)
tree4928cab5c018d09dac594d40b387b966b4ae6c9c /llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll
parent1d3265887755f2eac986407343dc7447948e9a72 (diff)
downloadbcm5719-llvm-97b935962308680e9f18bba06bcbdd05fdd7b4db.tar.gz
bcm5719-llvm-97b935962308680e9f18bba06bcbdd05fdd7b4db.zip
Do trivial CSE of dead BBs during codegen preparation.
Some BBs can become dead after codegen preparation. If we delete them here, it could help enable tail-call optimizations later on. <rdar://problem/10256573> llvm-svn: 152002
Diffstat (limited to 'llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll')
-rw-r--r--llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll b/llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll
index 095d8c68c22..029aa91658d 100644
--- a/llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll
+++ b/llvm/test/CodeGen/X86/2011-11-09-FoldImpDefs.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -verify-regalloc | FileCheck %s
+; RUN: llc < %s -disable-cgp-delete-dead-blocks -verify-regalloc | FileCheck %s
; PR11347
;
; This test case materializes the constant 1 in a register:
OpenPOWER on IntegriCloud