[PATCH] D91444: [InstCombine] Preserve !annotation metadata for memory combines.

Florian Hahn via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 16 07:57:45 PST 2020


fhahn updated this revision to Diff 312216.
fhahn added a comment.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

In D91444#2394512 <https://reviews.llvm.org/D91444#2394512>, @lebedev.ri wrote:

> What about teaching IRBuilder to deal with it like it deals with debugloc?

Done! Together with D93400 <https://reviews.llvm.org/D93400> this patch now boils down to requesting !annotation to be preserved for instructions created by IRBuilder.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D91444

Files:
  clang/test/CodeGenCXX/auto-var-init.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/annotations.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91444.312216.patch
Type: text/x-patch
Size: 17951 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201216/64cd6b29/attachment-0001.bin>


More information about the cfe-commits mailing list