[PATCH] D134429: [DebugInfo][LICM] Drop DebugLoc from IntrinsicInst when hoisting

Juan Manuel Martinez CaamaƱo via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 26 09:52:38 PDT 2022


jmmartinez added a comment.

In D134429#3815441 <https://reviews.llvm.org/D134429#3815441>, @dblaikie wrote:

> What's the motivation for the change - reduced debug info size by having fewer zero locations?

The idea is to reduce the amount zero locations since they can be confusing for the users.

I thought that dropping the debug location for these kind of intrinsics would consistent with what happens for the rest of the instructions. However, I'm fairly new to the debug-info so I'm not confident about the impact that these changes may have.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134429



More information about the llvm-commits mailing list