[LLVMdev] Always unfold memory operand

Eli Friedman eli.friedman at gmail.com
Tue Jun 8 16:04:31 PDT 2010


On Tue, Jun 8, 2010 at 2:05 PM, David Meyer <pdox at google.com> wrote:
> Hi,
> I am attempting to modify LLVM to generate code for an architecture which is
> nearly identical to X86-64, but with a few minor differences.
> In particular, "call" must always have a register operand, and cannot have a
> memory operand. Any ideas on how I can express this rule?

Just get rid of the pattern for matching the CALL64m instruction, or
make it require a target feature your target doesn't have.

-Eli




More information about the llvm-dev mailing list