summaryrefslogtreecommitdiffstats
path: root/clang/lib/Parse/ParseDecl.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2015-02-25 15:13:52 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2015-02-25 15:13:52 +0000
commit48b10681f9e549f5b95d2d65d617c2c9b5d040de (patch)
tree9ab3b29e54e001c43f1e09a346c907747b8dc3f6 /clang/lib/Parse/ParseDecl.cpp
parent4c0e4a12bd1ba0ce8af7f02dbd2dbb78af31a000 (diff)
downloadbcm5719-llvm-48b10681f9e549f5b95d2d65d617c2c9b5d040de.tar.gz
bcm5719-llvm-48b10681f9e549f5b95d2d65d617c2c9b5d040de.zip
[X86][MMX] Prevent MMX_MOVD64rm folding
MMX_MOVD64rm zero-extends i32 load results into i64 registers. The peephole optimizer will try to fold it in other MMX foldable instructions, the wrong thing to do, since there's no MMX memory instruction that loads from i32 and does implict zero extension. Remove 'canFoldAsLoad' from MOVD64rm in order to prevent such folding. The current MMX tests already test this, but since there are no MMX instructions in the foldable tables yet, this did not trigger. This commit prepares the addition of those instructions. llvm-svn: 230498
Diffstat (limited to 'clang/lib/Parse/ParseDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud