[PATCH] D80206: [IR] Clean up dead instructions after simplifying a conditional branch

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 19 09:16:57 PDT 2020


foad updated this revision to Diff 264933.
foad added a comment.

Like this? I had to include ValueHandle.h from BasicBlock.h. I don't know if that's acceptable.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80206/new/

https://reviews.llvm.org/D80206

Files:
  llvm/include/llvm/IR/BasicBlock.h
  llvm/lib/IR/BasicBlock.cpp
  llvm/lib/Transforms/Utils/Local.cpp
  llvm/test/Transforms/PGOProfile/chr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80206.264933.patch
Type: text/x-patch
Size: 17829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200519/f5f09ba9/attachment-0001.bin>


More information about the llvm-commits mailing list