We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51193ef commit 1bc950cCopy full SHA for 1bc950c
crates/rustc_codegen_spirv/src/abi.rs
@@ -101,12 +101,6 @@ pub(crate) fn provide(providers: &mut Providers) {
101
arg.mode = PassMode::Ignore;
102
}
103
104
- // SPIR-V backend lowers arguments by-value and cannot handle
105
- // backend-specific indirection/casts at this layer.
106
- if matches!(arg.mode, PassMode::Cast { .. }) {
107
- arg.mode = PassMode::Direct(ArgAttributes::new());
108
- }
109
-
110
arg
111
};
112
tcx.arena.alloc(FnAbi {
0 commit comments