Sandunmalee Abeyratne
2012-Dec-09 05:26 UTC
[LLVMdev] PHI instructions without CopyFromReg/CopyToReg
In my target I want to have mem-mem operations. But PHI instructions use virtual registers and gets converted to a series of CopyFromReg and CopyToReg instructions. These DAGs end up using physical registers. My first approach was to spill the virtual register to force a mem-mem operation. But I was unable to do this using LowerOperation() and setOperationAction(ISD::CopyToReg, MVT::i32, Custom); Any ideas would be appreciated. Is there a way to modify either PHI instructions to not use CopyFromReg or custom lower CopyFromReg? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121209/f323397d/attachment.html>
Possibly Parallel Threads
- [LLVMdev] Problems expanding fcmp to a libcall
- [LLVMdev] Making a CopyToReg/CopyFromReg into a zext/sext?
- [LLVMdev] Making a CopyToReg/CopyFromReg into a zext/sext?
- [LLVMdev] Making a CopyToReg/CopyFromReg into a zext/sext?
- Ensuring chain dependencies with expansion to libcalls