[PATCH] D29925: Implement intrinsic mangling for literal struct types.Fixes PR 31921

Chandler Carruth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 14 14:57:47 PST 2017


chandlerc added a comment.

This at least seems like a step in the right direction, so LGTM. Maybe touch base with @majnemer before landing though in case he sees something I don't.



================
Comment at: lib/IR/AutoUpgrade.cpp:492-493
   }
+  // Remangle our intrinsic since we upgrade the mangling
+  auto Result = llvm::Intrinsic::remangleIntrinsicFunction(F);
+  if (Result != None) {
----------------
Scan the types to see if any are pointers to structs before doing this?


https://reviews.llvm.org/D29925





More information about the llvm-commits mailing list