search for: smallprintopt

Displaying 3 results from an estimated 3 matches for "smallprintopt".

2016 Dec 19
3
opt -instcombine interesting behavior
...allOpt.ll/smallOpt.bc): define i32 @main() { ret i32 1 } So i verified my assumption by printing '%4' of the original program (smallPrint.ll/smallPrint.bc) and the output was 257. I also optimized smallPrint.ll/smallPrint.bc , again only with instcombine, but the output is changed to 1 (smallPrintOpt.bc). I also tested it with clang 3.8.0. What am i missing? Best regards, Stephan -------------- next part -------------- A non-text attachment was scrubbed... Name: smallPrintOpt.bc Type: application/octet-stream Size: 868 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-...
2016 Dec 19
0
opt -instcombine interesting behavior
...@main() { > ret i32 1 > } > > So i verified my assumption by printing '%4' of the original program > (smallPrint.ll/smallPrint.bc) and the output was 257. > I also optimized smallPrint.ll/smallPrint.bc , again only with instcombine, but > the output is changed to 1 (smallPrintOpt.bc). > > I also tested it with clang 3.8.0. > > What am i missing? > > > Best regards, > Stephan
2016 Dec 19
1
opt -instcombine interesting behavior
...2 1 >> } >> >> So i verified my assumption by printing '%4' of the original program >> (smallPrint.ll/smallPrint.bc) and the output was 257. >> I also optimized smallPrint.ll/smallPrint.bc , again only with instcombine, but >> the output is changed to 1 (smallPrintOpt.bc). >> >> I also tested it with clang 3.8.0. >> >> What am i missing? >> >> >> Best regards, >> Stephan > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm....