[llvm-dev] Using a stack slot as a destination register for cmov
Genoveva Fossas via llvm-dev
llvm-dev at lists.llvm.org
Mon Mar 23 13:38:44 PDT 2020
I'm a computer science student experimenting with the X86 back end for
llvm. I'm currently attempting to emit a cmov with the
MachineInstructionBuilder, but I'm a little unclear on how I could emit a
cmov that writes to a stack slot when its condition is true. I see several
usages when there are virtual registers as the destination, but not one
that writes to a stack slot. At least that I am able to discern.
In summary: how would I emit a cmov with the machine instruction builder
that writes to a stack slot when true?
Thank you in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev