[LLVMdev] IRBuilder and "ad hoc" optimizations

Krzysztof Parzyszek kparzysz at codeaurora.org
Thu Apr 23 05:03:16 PDT 2015


On 4/23/2015 6:57 AM, Krzysztof Parzyszek wrote:
>
> MachineInstr *MI = BuildMI(ADD, DstReg).addReg(SrcReg).addImm(0);

Wrong builder. Please disregard. :)

-K

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation



More information about the llvm-dev mailing list