[PATCH] Update InstCombine to transform aggregate stores into scalar stores.

David Majnemer david.majnemer at gmail.com
Fri Mar 13 22:54:23 PDT 2015


================
Comment at: lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp:815
@@ +814,3 @@
+
+  if (StructType* ST = dyn_cast<StructType>(T)) {
+    // If the struct only have one element, we unpack.
----------------
Please write this as `StructType *ST`

http://reviews.llvm.org/D7780

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






More information about the llvm-commits mailing list