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 | 160f6cc209068e5e2db6514a010d5a32cf28be4f (patch) | |
tree | 8e96dc5394c2aa7929e5c20e64563222efd0324c /utils/TableGen/CodeGenDAGPatterns.cpp | |
parent | 45ac17f5213ee9ad080b9876578ffa49c61121a5 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57552 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenDAGPatterns.cpp')
0 files changed, 0 insertions, 0 deletions