[PATCH] D46048: [branchfolding] When hoisting common code, remove kill flags from uses
Karl-Johan Karlsson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 25 03:02:16 PDT 2018
Ka-Ka created this revision.
Remove kill flags from uses if the killed registers are needed below the
insertion point. This should always be done, regardless of if registers
exist in the ActiveDefsSet or not.
This is a refinement of the old fix in r148043
Repository:
rL LLVM
https://reviews.llvm.org/D46048
Files:
lib/CodeGen/BranchFolding.cpp
test/CodeGen/SystemZ/branch-folder-hoist.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46048.143883.patch
Type: text/x-patch
Size: 3335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180425/d23446e6/attachment.bin>
More information about the llvm-commits
mailing list