Skip to content

Commit 8d9ff2a

Browse files
committed
v7 needs new verify
1 parent d1d2e39 commit 8d9ff2a

File tree

1 file changed

+1
-1
lines changed
  • crates/rustc_codegen_nvvm_v7/src

1 file changed

+1
-1
lines changed

crates/rustc_codegen_nvvm_v7/src/nvvm.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ pub fn codegen_bitcode_modules(
113113
// giving it to libnvvm. Then to debug codegen failures, we can just ask the user to provide the corresponding llvm ir
114114
// file with --emit=llvm-ir
115115

116-
let verification_res = prog.verify();
116+
let verification_res = prog.verify(&args.nvvm_options);
117117
if verification_res.is_err() {
118118
let log = prog.compiler_log().unwrap().unwrap_or_default();
119119
let footer = "If you plan to submit a bug report please re-run the codegen with `RUSTFLAGS=\"--emit=llvm-ir\" and include the .ll file corresponding to the .o file mentioned in the log";

0 commit comments

Comments
 (0)