[llvm] Make `IntrinsicLowering` external function call lowering configurable (PR #102148)
Jannik Silvanus via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 8 00:50:01 PDT 2024
================
@@ -15,17 +15,29 @@
#ifndef LLVM_CODEGEN_INTRINSICLOWERING_H
#define LLVM_CODEGEN_INTRINSICLOWERING_H
+#include "llvm/ADT/ArrayRef.h"
+
namespace llvm {
class CallInst;
class DataLayout;
+class Type;
+class Value;
class IntrinsicLowering {
const DataLayout &DL;
+ bool LowerExternalFunctionCalls;
----------------
jasilvanus wrote:
This should be called something like `AllowLibraryFunctionCalls` as these function calls are created, not lowered.
Also, the new argument warrants a comment explaining what it does.
https://github.com/llvm/llvm-project/pull/102148
More information about the llvm-commits
mailing list