[PATCH] D43198: [X86] Fix Topological NodeId Ordering violation in Load-Op-Store fusion.

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 12 09:35:15 PST 2018


niravd created this revision.
niravd added reviewers: craig.topper, bogner.
Herald added a subscriber: hiraditya.

Load-op-Store fusion has an output edge from a non-root node (i.e. the
Op). Users of this value may have a Id smaller than the Store
violating the topological node id which we rely on. Invalidate the Ids
of such nodes.

Fixes PR36212.


Repository:
  rL LLVM

https://reviews.llvm.org/D43198

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/X86/pr36212.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43198.133884.patch
Type: text/x-patch
Size: 21624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180212/34bf8709/attachment.bin>


More information about the llvm-commits mailing list