1
Fork 0

Removes the useless DisableSimplifyLibCalls parameter.

After applying no_builtins to the function attributes, we can remove the
DisableSimplifyLibCalls parameter.
This commit is contained in:
DianQK 2023-08-10 19:01:38 +08:00
parent 520081721c
commit 6762d64063
No known key found for this signature in database
GPG key ID: 46BDB1AC96C48912
3 changed files with 6 additions and 19 deletions

View file

@ -2139,13 +2139,8 @@ extern "C" {
ArgsCstrBuff: *const c_char,
ArgsCstrBuffLen: usize,
) -> *mut TargetMachine;
pub fn LLVMRustDisposeTargetMachine(T: *mut TargetMachine);
pub fn LLVMRustAddLibraryInfo<'a>(
PM: &PassManager<'a>,
M: &'a Module,
DisableSimplifyLibCalls: bool,
);
pub fn LLVMRustAddLibraryInfo<'a>(PM: &PassManager<'a>, M: &'a Module);
pub fn LLVMRustWriteOutputFile<'a>(
T: &'a TargetMachine,
PM: &PassManager<'a>,
@ -2167,7 +2162,6 @@ extern "C" {
UnrollLoops: bool,
SLPVectorize: bool,
LoopVectorize: bool,
DisableSimplifyLibCalls: bool,
EmitLifetimeMarkers: bool,
SanitizerOptions: Option<&SanitizerOptions>,
PGOGenPath: *const c_char,