Skip to content

Commit

Permalink
Update inlining heuristics
Browse files Browse the repository at this point in the history
  • Loading branch information
dstogov committed May 3, 2024
1 parent 9cff27f commit fe4ba28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ir_load_llvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#define LLVMAttrInlineHint 12
#define LLVMAttrNoInline 26

#define LLVM2IR_INLINE_MAX_HINT_BLOCKS 5
#define LLVM2IR_INLINE_MAX_HINT_BLOCKS 10
#define LLVM2IR_INLINE_MAX_HINT_COST 50
#define LLVM2IR_INLINE_MAX_BLOCKS 5
#define LLVM2IR_INLINE_MAX_COST 30
Expand Down

0 comments on commit fe4ba28

Please sign in to comment.