Skip to content

Commit 0eba539

Browse files
Bump LLVM to 813f7c3 (#3873)
This commit bumps the llvm-project to llvm/llvm-project@813f7c3. This commit also updates the usage of `APInt` in `unpack-quant-tensor` pass by explicitly setting the `implicitTrunc` arg to be `True` whose default value was changed from True to False here llvm/llvm-project@3494ee9. Signed-off-by: Vivek Khandelwal <[email protected]>
1 parent fe2f649 commit 0eba539

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

externals/llvm-project

Submodule llvm-project updated 10963 files

lib/Dialect/TorchConversion/Transforms/UnpackQuantTensor.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ class UnpackQuantizedMatmulWeights
104104
char mask = (1 << unpackedBitWidth) - 1;
105105
for (int b = 0; b < packRatio; b++) {
106106
newData[i * packRatio + b] =
107-
APInt(unpackedBitWidth, (el & mask) >> (unpackedBitWidth * b));
107+
APInt(unpackedBitWidth, (el & mask) >> (unpackedBitWidth * b),
108+
/*isSigned=*/false, /*implicitTrunc=*/true);
108109
mask = mask << unpackedBitWidth;
109110
}
110111
}

0 commit comments

Comments
 (0)