Skip to content
Snippets Groups Projects

Add more LLVM attributes

Merged rarbore2 requested to merge llvm_attrs into main
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
+ 2
2
@@ -68,7 +68,7 @@ impl<'a> CPUContext<'a> {
if self.types[return_type.idx()].is_primitive() {
write!(
w,
"define dso_local {} @{}_{}(",
"define dso_local nounwind nosync willreturn norecurse {} @{}_{}(",
self.get_type(return_type),
self.module_name,
self.function.name,
@@ -96,7 +96,7 @@ impl<'a> CPUContext<'a> {
)?;
write!(
w,
"define dso_local void @{}_{}(",
"define dso_local nounwind nosync willreturn norecurse void @{}_{}(",
self.module_name, self.function.name,
)?;
}
Loading