[PATCH] D78388: [globalisel][cse] Merge debug locations when CSE'ing

Daniel Sanders via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Apr 17 11:20:27 PDT 2020


dsanders added a comment.

I currently don't have an in-tree test case for this but it should be possible to construct one. Essentially it needs CSE enabled, and needs two instructions that need legalization and emit a common instruction during their legalizations with identical constraints (to avoid the copy) and have conflicting debug locations. I'll try to make an AArch64 test case when I get chance.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D78388





More information about the llvm-commits mailing list