projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make TargetLowering::getShiftAmountTy() taking DataLayout as an argument
[oota-llvm.git]
/
lib
/
Target
/
AMDGPU
/
SIISelLowering.cpp
diff --git
a/lib/Target/AMDGPU/SIISelLowering.cpp
b/lib/Target/AMDGPU/SIISelLowering.cpp
index 9385a21f1c53a8d2016c2c4cb19fab62b5c5c738..c1b241dc07b5b6f8676a5d8ec5d628bd744cab81 100644
(file)
--- a/
lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/
lib/Target/AMDGPU/SIISelLowering.cpp
@@
-703,7
+703,7
@@
EVT SITargetLowering::getSetCCResultType(const DataLayout &DL, LLVMContext &Ctx,
return EVT::getVectorVT(Ctx, MVT::i1, VT.getVectorNumElements());
}
-MVT SITargetLowering::getScalarShiftAmountTy(
EVT VT
) const {
+MVT SITargetLowering::getScalarShiftAmountTy(
const DataLayout &
) const {
return MVT::i32;
}