diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-10-12 19:50:57 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-10-12 19:50:57 +0000 |
| commit | 8271be9a1da41ac9221fc13831a9166ddf53a002 (patch) | |
| tree | 48ac3801b0cd9b71f22e5dba8fb3199f75f68991 /llvm/test/Transforms/LoopStrengthReduce | |
| parent | 105a3ce06269eb5c45a4820aba9d04f26de1fbdf (diff) | |
| download | bcm5719-llvm-8271be9a1da41ac9221fc13831a9166ddf53a002.tar.gz bcm5719-llvm-8271be9a1da41ac9221fc13831a9166ddf53a002.zip | |
Do not remove implicit defs in BranchFolder
Branch folder removes implicit defs if they are the only non-branching
instructions in a block, and the branches do not use the defined registers.
The problem is that in some cases these implicit defs are required for
the liveness information to be correct.
Differential Revision: https://reviews.llvm.org/D25478
llvm-svn: 284036
Diffstat (limited to 'llvm/test/Transforms/LoopStrengthReduce')
| -rw-r--r-- | llvm/test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll b/llvm/test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll index bdc36bdaf2e..096d89779da 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll @@ -100,6 +100,7 @@ while.end: ; preds = %entry ; CHECK-NEXT: in Loop: Header ; CHECK-NEXT: incq ; CHECK-NEXT: %for.body3.us.i +; CHECK-NEXT: Parent Loop ; CHECK-NEXT: Inner Loop ; CHECK: testb ; CHECK: je |

