https://bugs.llvm.org/show_bug.cgi?id=43324
Bug ID: 43324
Summary: Adding "minsize" attribute to function increases size
of opt output 15 times
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Scalar Optimizations
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
If we run opt like this:
opt -disable-basicaa -licm -loop-unroll -O1 -unroll-threshold=0 -o
bbi-32266_2.opt.bc bbi-32266_2.ll
and check the size of the output bbi-32266_2.opt.bc I get
-rw-r--r-- 1 uabelho eusers 203308 sep 16 13:09 bbi-32266_2.opt.bc
Then, if I just add a "minsize" attribute to function main in the input
and run opt the same way, I instead get this output:
-rw-r--r-- 1 uabelho eusers 3177960 sep 16 13:12 ./bbi-32266_2.opt.bc
So, adding "minsize" makes the size of the program increase around 15 times.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs