[llvm] [InferAddressSpaces] Fix constant replace to avoid modifying other functions (PR #70611)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 30 02:29:55 PDT 2023


================
@@ -334,6 +335,15 @@ template<> struct simplify_type<User::const_op_iterator> {
   }
 };
 
+template <> struct GraphTraits<User *> {
----------------
nikic wrote:

In any case, this should not be in a public IR header.

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


More information about the llvm-commits mailing list