[PATCH] D25478: Do not remove implicit defs in BranchFolder

Krzysztof Parzyszek via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 11 08:48:49 PDT 2016


kparzysz created this revision.
kparzysz added a reviewer: MatzeB.
kparzysz added a subscriber: llvm-commits.
kparzysz set the repository for this revision to rL LLVM.

BranchFolder removes implicit defs from blocks where they are the only instructions, potentially aside from an unconditional branch.  This can lead to the liveness information becoming incorrect.


Repository:
  rL LLVM

https://reviews.llvm.org/D25478

Files:
  lib/CodeGen/BranchFolding.cpp
  lib/CodeGen/BranchFolding.h
  test/CodeGen/Hexagon/branchfolder-keep-impdef.ll
  test/Transforms/LoopStrengthReduce/X86/2012-01-13-phielim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25478.74261.patch
Type: text/x-patch
Size: 4365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161011/53a7d9db/attachment.bin>


More information about the llvm-commits mailing list