Fix preload instruction isel. Only v7 supports pli, and only v7 with mp extension...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 3 Nov 2010 06:34:55 +0000 (06:34 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 3 Nov 2010 06:34:55 +0000 (06:34 +0000)
commitdfed19fe2c34c1209108afa58e8ab014ffd894e2
tree5f1825a4f721f61f4bd5908abe7ea515a08da5dc
parentbc7deb0f758d2544fc4c36433668340cbf4835cf
Fix preload instruction isel. Only v7 supports pli, and only v7 with mp extension supports pldw. Add subtarget attribute to denote mp extension support and legalize illegal ones to nothing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118160 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
include/llvm/Target/TargetSelectionDAG.td
lib/Target/ARM/ARM.td
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/ARMSchedule.td
lib/Target/ARM/ARMScheduleA8.td
lib/Target/ARM/ARMScheduleA9.td
lib/Target/ARM/ARMSubtarget.cpp
lib/Target/ARM/ARMSubtarget.h
test/CodeGen/ARM/prefetch.ll