Rollup merge of #82213 - est31:slices_for_vecs, r=jyn514
Slices for vecs
This commit is contained in:
commit
199095afc6
1 changed files with 3 additions and 3 deletions
|
@ -61,9 +61,9 @@ impl AsmBuilderMethods<'tcx> for Builder<'a, 'll, 'tcx> {
|
||||||
// Default per-arch clobbers
|
// Default per-arch clobbers
|
||||||
// Basically what clang does
|
// Basically what clang does
|
||||||
let arch_clobbers = match &self.sess().target.arch[..] {
|
let arch_clobbers = match &self.sess().target.arch[..] {
|
||||||
"x86" | "x86_64" => vec!["~{dirflag}", "~{fpsr}", "~{flags}"],
|
"x86" | "x86_64" => &["~{dirflag}", "~{fpsr}", "~{flags}"][..],
|
||||||
"mips" | "mips64" => vec!["~{$1}"],
|
"mips" | "mips64" => &["~{$1}"],
|
||||||
_ => Vec::new(),
|
_ => &[],
|
||||||
};
|
};
|
||||||
|
|
||||||
let all_constraints = ia
|
let all_constraints = ia
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue