Displaying 2 results from an estimated 2 matches for "sdbuilder".
Did you mean:
dbuilder
2016 Oct 24
2
Accessing the associated LLVM IR Instruction for an SDNode used in instruction selection (back end)
..., for example, actual
function arguments don't appear in the DAG).
Best regards,
Alex
On 10/22/2016 12:29 AM, Quentin Colombet wrote:
> Hi Alex,
>
> Out of curiosity, what is your use case for that?
>
> Generally speaking I would recommend against doing that. When the SDBuilder is done, I
> would expect the SDNodes to not query anything outside of the SD layer. We are not here
> now, though.
>
> Cheers, -Quentin
>> On Oct 21, 2016, at 4:57 AM, Alex Susu via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>> Hello. I would like to access...
2016 Oct 21
2
Accessing the associated LLVM IR Instruction for an SDNode used in instruction selection (back end)
Hello.
I would like to access the LLVM IR Instruction from which an SDNode (from
SelectionDAG) originates. For this I have modified:
- llvm/lib/CodeGen/SelectionDAGISel.cpp, SelectionDAGISel::SelectBasicBlock(),
namely I put SDB->clear() at the beginning of the method in order to avoid clearing
NodeMap after creating the initial SelectionDAG from LLVM IR, since I want to access