[PATCH] D36938: [X86] When selecting sse_load_f32/f64 pattern, make sure there's only one use of every node all the way back to the root of the match

Zvi Rackover via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 00:57:32 PDT 2017


zvi added inline comments.


================
Comment at: lib/Target/X86/X86ISelDAGToDAG.cpp:1541
 
+// Make sure this node has one path back to Root. Otherwise its not legal
+// to fold the load.
----------------
The comment says it is not legal. Do you have an example for an *illegal* fold or should the wording be changed?


https://reviews.llvm.org/D36938





More information about the llvm-commits mailing list