[llvm] [AMDGPU] Only insert intrinsic declarations when needed (PR #117998)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 28 06:20:24 PST 2024


================
@@ -38,6 +38,7 @@ using StackVector = SmallVector<StackEntry, 16>;
 
 class SIAnnotateControlFlow {
 private:
+  Function *F;
----------------
jayfoad wrote:

This one is always initialized by the constructor, `F(&F)`

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


More information about the llvm-commits mailing list