Skip to content

Commit

Permalink
Merge pull request #3752 from fitzgen/newtypes-for-register-classes
Browse files Browse the repository at this point in the history
cranelift: Add newtype wrappers for x64 register classes
  • Loading branch information
fitzgen authored Feb 3, 2022
2 parents b3b83ef + 2c77cf8 commit a519e5a
Show file tree
Hide file tree
Showing 27 changed files with 4,623 additions and 3,196 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cranelift/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
bincode = { version = "1.2.1", optional = true }
gimli = { version = "0.26.0", default-features = false, features = ["write"], optional = true }
smallvec = { version = "1.6.1" }
regalloc = { version = "0.0.33" }
regalloc = "0.0.34"
souper-ir = { version = "2.1.0", optional = true }
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
# Please don't add any unless they are essential to the task of creating binary
Expand Down
2 changes: 2 additions & 0 deletions cranelift/codegen/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ fn rebuild_isle(
) -> Result<(), Box<dyn std::error::Error + 'static>> {
use cranelift_isle as isle;

println!("Rebuilding {}", compilation.output.display());

// First, remove the manifest, if any; we will recreate it
// below if the compilation is successful. Ignore error if no
// manifest was present.
Expand Down
5 changes: 0 additions & 5 deletions cranelift/codegen/src/isa/aarch64/inst.isle
Original file line number Diff line number Diff line change
Expand Up @@ -871,15 +871,10 @@

(type BoxCallInfo (primitive BoxCallInfo))
(type BoxCallIndInfo (primitive BoxCallIndInfo))
(type VecMachLabel (primitive VecMachLabel))
(type CondBrKind (primitive CondBrKind))
(type BranchTarget (primitive BranchTarget))
(type BoxJTSequenceInfo (primitive BoxJTSequenceInfo))
(type BoxExternalName (primitive BoxExternalName))
(type CodeOffset (primitive CodeOffset))
(type ExternalName (primitive ExternalName))
(type ValueLabel (primitive ValueLabel))
(type UnwindInst (primitive UnwindInst))

(type ExtendOp extern
(enum
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
src/clif.isle 9ea75a6f790b5c03
src/prelude.isle 2bfcafbef6b29358
src/isa/aarch64/inst.isle 944323ff7d6db098
src/prelude.isle 6aaf8ce0f5a5c2ec
src/isa/aarch64/inst.isle dafd813ba278ce19
src/isa/aarch64/lower.isle 2d2e1e076a0c8a23
Loading

0 comments on commit a519e5a

Please sign in to comment.