[LLVMdev] Inline Assembly: Memory constraints with offsets
kparzysz at codeaurora.org
Thu Mar 5 07:05:01 PST 2015
On 3/4/2015 10:30 AM, Daniel Sanders wrote:
> Partial support for ZC is in my working copy at the moment. I've attached my WIP patches.
Should have guessed that, ha.
I've looked into this. My idea was to expand the single address operand
of the inline-asm SDNode into two: base pointer and offset.
I haven't found a place where all needed information would be readily
available, and where the common code would do all the work based on some
target-specific hook. Failing that, my last resort approach would be to
have a pre-isel pass that expands the inline-asm, potentially changing
the constraints to reflect the connection between the register and the
constant input operands (needed for the asm-printer).
Not sure if this is of any help.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
hosted by The Linux Foundation
More information about the llvm-dev