Ramakota Reddy via llvm-dev
2019-Apr-05 11:17 UTC
[llvm-dev] How can change ADD instruction to SUB instruction
Hi All, I have ADD instruction but I want change to SUB instruction in MachineCSE.cpp file. Eg: %8:gpr32 = MOVi32imm -655360000 nsw ADDWrr killed %7:gpr32, killed %8:gpr32 expected: %8:gpr32 = MOVi32imm 655360000 nsw SUBSWrr killed %7:gpr32, killed %8:gpr32 Could any one please give your suggestions on this. Thanks and Regards, Ramakota Reddy. IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190405/a69b7588/attachment-0001.html>