[FastISel][X86] Add MachineMemOperand to load/store instructions.
authorJuergen Ributzka <juergen@apple.com>
Thu, 12 Jun 2014 23:27:57 +0000 (23:27 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 12 Jun 2014 23:27:57 +0000 (23:27 +0000)
commit349777d3ea6beb9e875339904af0385a451e17ef
treea11825b0d5c480a07a39dde126a432157be7c594
parent09b61ebcbe6a53183e64871753c1963a4c28a9ee
[FastISel][X86] Add MachineMemOperand to load/store instructions.

This commit adds MachineMemOperands to load and store instructions. This allows
the peephole optimizer to fold load instructions. Unfortunatelly the peephole
optimizer currently doesn't run at -O0.

llvm-svn: 210858
llvm/include/llvm/CodeGen/FastISel.h
llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
llvm/lib/Target/X86/X86FastISel.cpp
llvm/test/CodeGen/X86/fast-isel-fold-mem.ll [new file with mode: 0644]