2011-07-26 Martin Jambor <mjambor@suse.cz>
* tree-sra.c (tree_non_mode_aligned_mem_p): Strip conversions and
return false for invariants.
From-SVN: r176797
+2011-07-26 Martin Jambor <mjambor@suse.cz>
+
+ * tree-sra.c (tree_non_mode_aligned_mem_p): Strip conversions and
+ return false for invariants.
+
2011-07-26 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.md (add->lea splitter): Implement using SWI
enum machine_mode mode = TYPE_MODE (TREE_TYPE (exp));
unsigned int align;
+ if (TREE_CODE (exp) == VIEW_CONVERT_EXPR)
+ exp = TREE_OPERAND (exp, 0);
+
if (TREE_CODE (exp) == SSA_NAME
|| TREE_CODE (exp) == MEM_REF
|| mode == BLKmode
+ || is_gimple_min_invariant (exp)
|| !STRICT_ALIGNMENT)
return false;