[PATCH] D85670: [Instruction] Add updateLocationAfterHoist helper
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 8 13:51:33 PDT 2020
vsk updated this revision to Diff 290577.
vsk added a comment.
Add a dropLocation API, and use this to implement updateLocationAfterHoist. 'dropLocation' is a more general name, and should be applicable in more contexts.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D85670/new/
https://reviews.llvm.org/D85670
Files:
llvm/include/llvm/IR/Instruction.h
llvm/lib/IR/DebugInfo.cpp
llvm/lib/Transforms/Scalar/GVN.cpp
llvm/lib/Transforms/Scalar/LICM.cpp
llvm/test/DebugInfo/Generic/licm-hoist-debug-loc.ll
llvm/test/Transforms/GVN/PRE/phi-translate.ll
llvm/test/Transforms/LICM/hoisting-preheader-debugloc.ll
llvm/unittests/IR/InstructionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85670.290577.patch
Type: text/x-patch
Size: 10268 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200908/cd5afa90/attachment-0001.bin>
More information about the llvm-commits
mailing list