[PATCH] D57050: [CodeGenPrepare] Handle all debug calls in dupRetToEnableTailCallOpts()

Jonas Paulsson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 22 05:54:22 PST 2019


jonpa created this revision.
jonpa added reviewers: rtereshin, wolfgangp.
Herald added a subscriber: jfb.

This patch makes sure that a debug value that is after the bitcast in dupRetToEnableTailCallOpts() is also skipped.

The reduced test case is from SPEC-2006 on SystemZ.


https://reviews.llvm.org/D57050

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/CodeGen/SystemZ/debuginstr-cgp.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57050.182892.patch
Type: text/x-patch
Size: 171535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190122/a67dd420/attachment-0001.bin>


More information about the llvm-commits mailing list