[llvm] Merge sourcelocation in CSEMIRBuilder::getDominatingInstrForID. (PR #90922)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Tue May 7 03:14:21 PDT 2024


================
@@ -243,6 +243,10 @@ class MachineIRBuilder {
   }
 
 public:
+  /// This is the merged location of an instruction which is a result of a fold
+  /// in the legalizer.
+  DILocation *MergedLocation = nullptr;
----------------
arsenm wrote:

This doesn't seem like block or function level state 

https://github.com/llvm/llvm-project/pull/90922


More information about the llvm-commits mailing list