46 ms·Is `rustc --opt-level 3 --emit ir` not right?by ben0x539 12y agoIs `rustc --opt-level 3 --emit ir` not right?eridius 12y agoThe optimization level is given to LLVM. The IR itself should be the same for all optimization levels AFAIK.dbaupp 12y agoAlmost all LLVM optimisations map IR to IR, and --emit=ir prints the final IR just before codegen (i.e. after optimisations happen).eridius 12y agoOh? I was under the impression it was the IR that was given to LLVM to begin with. Interesting.