Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: Update to llvm-15
Browse files Browse the repository at this point in the history
This is the patch from Deeploy
fischeti committed Sep 2, 2024
1 parent 0e14490 commit 4364a5a
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ csv = "1.0.0-beta.2"
elf = "0.0.10"
flexfloat = { path = "flexfloat" }
itertools = "0.9"
llvm-sys = "120"
llvm-sys = "150"
log = { version = "0.4", features = ["release_max_level_info"] }
pest = "2.1.3"
pest_derive = "2.1.0"
3 changes: 1 addition & 2 deletions build/runtime.rs
Original file line number Diff line number Diff line change
@@ -22,8 +22,7 @@ pub fn build() {
"--crate-type=staticlib",

Check warning on line 22 in build/runtime.rs

GitHub Actions / Format

Diff in /home/runner/work/banshee/banshee/build/runtime.rs
"-Copt-level=3",
"-Cdebuginfo=0",
"-Cpanic=abort",
"-Cllvm-args=-opaque-pointers=0",
"-Cpanic=abort"
])
.status()
.unwrap();
1 change: 0 additions & 1 deletion src/engine.rs
Original file line number Diff line number Diff line change
@@ -281,7 +281,6 @@ impl Engine {

LLVMPassManagerBuilderPopulateFunctionPassManager(builder, func_passes);
LLVMAddAnalysisPasses(tm, module_passes);
LLVMPassManagerBuilderPopulateLTOPassManager(builder, module_passes, 0, 1);
LLVMPassManagerBuilderPopulateModulePassManager(builder, module_passes);

// Create and run the function pass manager.
2 changes: 1 addition & 1 deletion src/tran.rs
Original file line number Diff line number Diff line change
@@ -20,7 +20,7 @@ use std::{
};
extern crate flexfloat;

static NONAME: &'static i8 = unsafe { std::mem::transmute("\0".as_ptr()) };
static NONAME: &'static u8 = unsafe { std::mem::transmute("\0".as_ptr()) };

/// Base address of the stream semantic regsiters
static SSR_BASE: u64 = 0x204800;

0 comments on commit 4364a5a

Please sign in to comment.