summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZISelLowering.h
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2015-07-09 15:12:23 +0000
committerMehdi Amini <mehdi.amini@apple.com>2015-07-09 15:12:23 +0000
commiteaabc51e786b049b1c5172332e38958af0d7c72a (patch)
tree8ed08efeca3fe3c801fec13a3f4e29f598b0afa6 /llvm/lib/Target/SystemZ/SystemZISelLowering.h
parentd1b818bcf414dea158df3a3ab33e0d62da0aa0d8 (diff)
downloadbcm5719-llvm-eaabc51e786b049b1c5172332e38958af0d7c72a.tar.gz
bcm5719-llvm-eaabc51e786b049b1c5172332e38958af0d7c72a.zip
Re-instate the EVT parameter to getScalarShiftAmountTy() for OOT user
A documentation for this function would be nice by the way. From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 241807
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZISelLowering.h')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZISelLowering.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZISelLowering.h b/llvm/lib/Target/SystemZ/SystemZISelLowering.h
index db958f4e78a..949b67f114e 100644
--- a/llvm/lib/Target/SystemZ/SystemZISelLowering.h
+++ b/llvm/lib/Target/SystemZ/SystemZISelLowering.h
@@ -339,7 +339,7 @@ public:
const SystemZSubtarget &STI);
// Override TargetLowering.
- MVT getScalarShiftAmountTy(const DataLayout &) const override {
+ MVT getScalarShiftAmountTy(const DataLayout &, EVT) const override {
return MVT::i32;
}
MVT getVectorIdxTy(const DataLayout &DL) const override {
OpenPOWER on IntegriCloud