[llvm-dev] [debug support] Why do constant SD nodes not set the IROrder?

Gautam Chakrabarti via llvm-dev
Fri, 30 Mar 2018 00:08:08 -0000

Updating the subject line.

From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Gautam
Chakrabarti via llvm-dev
Sent: Wednesday, March 28, 2018 11:58 PM
To: LLVM Dev <llvm-dev at lists.llvm.org>
Subject: [llvm-dev] Why do constant SD nodes not set the IROrder?

Specifically I would like to understand why ConstantSDNode and ConstantFPSDNode
do not set the IR ordering like most other SDNode-s. These constant SD nodes
also previously did not set the debugloc, but that got enabled (here:
http://llvm.org/viewvc/llvm-project?view=revision&revision=237237).

These constant SD nodes hard-code the order to 0. Is this intentional, or just
something that has not been handled yet? I have a case for debug support where I
think this is needed.

Thanks,
Gautam

________________________________
This email message is for the sole use of the intended recipient(s) and may
contain confidential information.  Any unauthorized review, use, disclosure or
distribution is prohibited.  If you are not the intended recipient, please
contact the sender by reply email and destroy all copies of the original
message.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20180330/b0a8eddd/attachment.html>