diff options
| author | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-19 10:19:55 +0000 |
|---|---|---|
| committer | Patrik Hagglund <patrik.h.hagglund@ericsson.com> | 2012-12-19 10:19:55 +0000 |
| commit | fdbeb057b8a844b641f323fd27a61ffcb32b43da (patch) | |
| tree | c87d9f3af79e9c21350591af96c1f8df20d884ed /include | |
| parent | 16537418f4309ba0ab89f6b0dbadc77014ca671f (diff) | |
Change TargetLowering::isCondCodeLegal to take an MVT, instead of EVT.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170524 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
| -rw-r--r-- | include/llvm/Target/TargetLowering.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 012d908832..d91ae42f27 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -524,10 +524,10 @@ public: /// isCondCodeLegal - Return true if the specified condition code is legal /// on this target. - bool isCondCodeLegal(ISD::CondCode CC, EVT VT) const { + bool isCondCodeLegal(ISD::CondCode CC, MVT VT) const { return - getCondCodeAction(CC, VT.getSimpleVT()) == Legal || - getCondCodeAction(CC, VT.getSimpleVT()) == Custom; + getCondCodeAction(CC, VT) == Legal || + getCondCodeAction(CC, VT) == Custom; } |
