diff options
author | Chris Lattner <sabre@nondot.org> | 2008-10-15 05:07:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-10-15 05:07:36 +0000 |
commit | a0f9d4972f6cbb337f3b6c572570f19415b74a63 (patch) | |
tree | a6648e43c18b4c83717a9315446520b2bf2bd63c /llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp | |
parent | 74e012839d9d082ed79c38c9cd4f3bdff3331960 (diff) | |
download | bcm5719-llvm-a0f9d4972f6cbb337f3b6c572570f19415b74a63.tar.gz bcm5719-llvm-a0f9d4972f6cbb337f3b6c572570f19415b74a63.zip |
Some minor cleanups:
1. Compute action in X86SelectSelect based on MVT instead of type.
2. Use TLI.getValueType(..) instead of MVT::getVT(..) because the former
handles pointers and the later doesn't.
3. Don't pass TLI into isTypeLegal, since it already has access to it as
an ivar.
#2 gives fast isel some minor new functionality: handling load/stores of
pointers.
llvm-svn: 57552
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMachOWriterInfo.cpp')
0 files changed, 0 insertions, 0 deletions