diff options
| author | Craig Topper <craig.topper@gmail.com> | 2013-08-15 02:33:50 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2013-08-15 02:33:50 +0000 |
| commit | 5671010cbb72ebd5127150e77d5a7fc78f1293cc (patch) | |
| tree | 5cba34792bf47d189af2eb847bc8cbb0a9fc783c /llvm/lib/Target/X86/X86FastISel.cpp | |
| parent | 27afa83068fbbafcc8475b251d7203db45469b31 (diff) | |
| download | bcm5719-llvm-5671010cbb72ebd5127150e77d5a7fc78f1293cc.tar.gz bcm5719-llvm-5671010cbb72ebd5127150e77d5a7fc78f1293cc.zip | |
Replace getValueType().getSimpleVT() with getSimpleValueType(). Also remove one weird cast from MVT->EVT just to call getSimpleVT().
llvm-svn: 188441
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.cpp')
| -rw-r--r-- | llvm/lib/Target/X86/X86FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.cpp b/llvm/lib/Target/X86/X86FastISel.cpp index 5bc34201aa4..8e942c80e8a 100644 --- a/llvm/lib/Target/X86/X86FastISel.cpp +++ b/llvm/lib/Target/X86/X86FastISel.cpp @@ -1026,7 +1026,7 @@ bool X86FastISel::X86SelectZExt(const Instruction *I) { return false; // Handle zero-extension from i1 to i8, which is common. - MVT SrcVT = TLI.getValueType(I->getOperand(0)->getType()).getSimpleVT(); + MVT SrcVT = TLI.getSimpleValueType(I->getOperand(0)->getType()); if (SrcVT.SimpleTy == MVT::i1) { // Set the high bits to zero. ResultReg = FastEmitZExtFromI1(MVT::i8, ResultReg, /*TODO: Kill=*/false); |

