[PATCH] merge consecutive stores of extracted vector elements (PR21711)

hfinkel at anl.gov hfinkel at anl.gov
Tue Jan 6 09:18:28 PST 2015


================
Comment at: lib/CodeGen/SelectionDAG/DAGCombiner.cpp:9791
@@ +9790,3 @@
+      // (in other words some of the stored values are constants or loads).
+      if (StoredVal.getOpcode() != ISD::EXTRACT_VECTOR_ELT)
+        return false;
----------------
How does this cause a crash if you remove this check?

http://reviews.llvm.org/D6850

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list