[llvm-dev] Can I use AArch64 Opcodes inside MachineCSE Pass

Ramakota Reddy via llvm-dev llvm-dev at lists.llvm.org
Wed Apr 10 03:45:10 PDT 2019


Hi All,

I have Instruction like below

%9:gpr32 = ADDWrr killed %7:gpr32, killed %4:gpr32

Here I want to check Opcode of above instruction in MachineCSE pass. But ADDWrr is a AArch64 Opcode.
How can I use/check AArch64 Opcodes in MachineCSE pass(like: Inst->Opcode() == AArch64::ADDWrr) ?. through any object can I use AArch64 Opcodes ?
Can I use AArch64 Opcodes inside MachineCSE Pass?

Could anyone please give your suggestions on this problem.

Thanks & 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/20190410/c0cb7025/attachment.html>


More information about the llvm-dev mailing list