Skip to content

Commit

Permalink
Merge branch 'main' into hamptonm/feature/upgrade-llvm
Browse files Browse the repository at this point in the history
  • Loading branch information
hamptonm1 authored Nov 15, 2024
2 parents d842719 + a5ae8ba commit 9c890e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Conversion/KrnlToLLVM/ConvertKrnlToLLVM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ bool extractConstantsToFile(ModuleOp &module, std::string filepath,
OpBuilder::InsertionGuard guard(b);
b.setInsertionPointToStart(module.getBody());
std::string fname = llvm::sys::path::filename(filepath).str() + '\0';
fname = (isZOS(module)) ? krnl::e2a_s(fname) : fname;
fname = (isZOS(module)) ? krnl::a2e_s(fname) : fname;
mlir::StringAttr valueAttr = mlir::StringAttr::get(context, fname);
create.llvm.globalOp(LLVM::LLVMArrayType::get(llvmI8Ty, fname.size()),
/*isConstant=*/true, LLVM::Linkage::Internal,
Expand Down

0 comments on commit 9c890e9

Please sign in to comment.