[llvm] [TypeMetadataUtil][CallPromtionUtil]Add utility function getFunctionAtVTableOffset that finds functions through alias. Use it in CallPromotionUtils which didn't promote aliasee previously (PR #80736)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 5 14:00:22 PST 2024
================
@@ -14,6 +14,7 @@
#ifndef LLVM_ANALYSIS_TYPEMETADATAUTILS_H
#define LLVM_ANALYSIS_TYPEMETADATAUTILS_H
+#include "llvm/IR/GlobalVariable.h"
----------------
teresajohnson wrote:
Can you instead just use a forward declaration for GlobalVariable, like we do for other types below?
https://github.com/llvm/llvm-project/pull/80736
More information about the llvm-commits
mailing list