mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 18:56:06 +00:00
[libc] Reduce binary size for baremetal targets (#121164)
For `math` functions we must choose size optimized implementations. Removing framepointers will also help with binary size savings.
This commit is contained in:
parent
8e9fda1c11
commit
7deaed975e
@ -25,5 +25,15 @@
|
||||
"LIBC_CONF_QSORT_IMPL": {
|
||||
"value": "LIBC_QSORT_HEAP_SORT"
|
||||
}
|
||||
},
|
||||
"math": {
|
||||
"LIBC_CONF_MATH_OPTIMIZATIONS": {
|
||||
"value": "(LIBC_MATH_SKIP_ACCURATE_PASS | LIBC_MATH_SMALL_TABLES)"
|
||||
}
|
||||
},
|
||||
"codegen": {
|
||||
"LIBC_CONF_KEEP_FRAME_POINTER": {
|
||||
"value": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user