Evan,
The problem I'm having is what exactly is the meaning of a load
instruction with a NULL memory location would even mean in the sense of
tablegen/llvm or how it is even possible to be generated. I am currently
viewing this as equivalent to a load from a NULL pointer and that
definitely should not be generated anywhere. Once I understood this then
I can probably figure out how to pattern match it correctly.
Thanks,
Micah
________________________________
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
On Behalf Of Evan Cheng
Sent: Sunday, March 08, 2009 6:44 PM
To: LLVM Developers Mailing List
Subject: Re: [LLVMdev] Load with null memory operand?
It depends on how your target models its addressing mode. Targets with
complex addressing modes usually isel addresses with custom code.
Evan
On Mar 6, 2009, at 4:05 PM, Villmow, Micah wrote:
How do I match against this instruction?
01ABDA58: i64,ch = load 01ABD948, 01ABD8C0, 01AB1350 <null:0>
This is the first time I've seen NULL in the memory operand location.
Any idea on how this could be mapped with tablegen correctly?
Thanks,
Micah Villmow
Systems Engineer
Advanced Technology & Performance
Advanced Micro Devices Inc.
S1-609 One AMD Place
Sunnyvale, CA. 94085
P: 408-749-3966
_______________________________________________
LLVM Developers mailing list
LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20090309/98015e58/attachment.html>