<div dir="ltr"><div>> No, non-sideeffecting operations can be legalized as compiler-rt calls<br></div><div><br></div>Right, but not as "regular" nodes with side-effects? I guess you could search and analyze the DAG manually but that seems hacky. Maybe something that one day LLVM could support natively.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 16, 2020 at 11:55 AM Matt Arsenault <<a href="mailto:arsenm2@gmail.com">arsenm2@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;"><br><div><br><blockquote type="cite"><div>On Jul 16, 2020, at 14:47, Hendrik Greving <<a href="mailto:hgreving@google.com" target="_blank">hgreving@google.com</a>> wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline">I think their originating node already has a chain (i.e. mem operand or side effect in llvm-ir)</span></div></blockquote></div><br><div><br></div><div>No, non-sideeffecting operations can be legalized as compiler-rt calls</div><div><br></div><div>-Matt</div></div></blockquote></div>