Skip to content

Commit f1fee8e

Browse files
Update NVPTX isNarrowingProfitable API
1 parent 281f897 commit f1fee8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/NVPTX/NVPTXISelLowering.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class NVPTXTargetLowering : public TargetLowering {
162162
DstTy->getPrimitiveSizeInBits() == 32;
163163
}
164164

165-
bool isNarrowingProfitable(EVT SrcVT, EVT DestVT) const override {
165+
bool isNarrowingProfitable(SDNode *N, EVT SrcVT, EVT DestVT) const override {
166166
// Truncating 64-bit to 32-bit is free in SASS.
167167
if (!(SrcVT.isScalarInteger() && DestVT.isScalarInteger()))
168168
return false;

0 commit comments

Comments
 (0)