Extract some intrinsics out of rustc_codegen_llvm
A significant amount of intrinsics do not actually need backend-specific behaviors to be implemented, instead relying on methods already in rustc_codegen_ssa. So, extract those methods out to rustc_codegen_ssa, so that each backend doesn't need to reimplement the same code.
This commit is contained in:
parent
a874956d94
commit
21b0c1286a
4 changed files with 606 additions and 521 deletions
|
@ -486,6 +486,7 @@ mod block;
|
|||
pub mod constant;
|
||||
pub mod coverageinfo;
|
||||
pub mod debuginfo;
|
||||
mod intrinsic;
|
||||
pub mod operand;
|
||||
pub mod place;
|
||||
mod rvalue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue