Improve test to actually check for a folded load.
authorSanjay Patel <spatel@rotateright.com>
Tue, 3 Feb 2015 15:37:18 +0000 (15:37 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 3 Feb 2015 15:37:18 +0000 (15:37 +0000)
commita4276fb2947661dadbbf9955c6d530786a53d29e
tree6fe95b488ec9553d7b406ef408bcc6e6be935e1c
parent07d9d76a2d79e080f7cd022755c4f963d71cc529
Improve test to actually check for a folded load.

This test was checking for lack of a "movaps" (an aligned load)
rather than a "movups" (an unaligned load). It also included
a store which complicated the checking.

Add specific CPU runs to prevent subtarget feature flag overrides
from inhibiting this optimization.

llvm-svn: 227972
llvm/test/CodeGen/X86/fold-vex.ll