[PATCH] D82678: [CPG] Set debug locations when optimizing phi types

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 26 12:36:01 PDT 2020


dmgreen created this revision.
dmgreen added reviewers: efriedma, craig.topper, SjoerdMeijer, bjope.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

This sets the debug location from the old instructions when converting phi types.

The debug values may be more difficult to correct given that they are now a different type. Otherwise, I do not believe that debug instructions alters the optimization.


https://reviews.llvm.org/D82678

Files:
  llvm/lib/CodeGen/CodeGenPrepare.cpp
  llvm/test/CodeGen/AArch64/convertphitype.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82678.273812.patch
Type: text/x-patch
Size: 24473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200626/b36befea/attachment-0001.bin>


More information about the llvm-commits mailing list