diff --git a/cmake/llvm-hash.txt b/cmake/llvm-hash.txt index 685723217a3d..95eedd9ee77b 100644 --- a/cmake/llvm-hash.txt +++ b/cmake/llvm-hash.txt @@ -1 +1 @@ -5b6e58c565cf809e4133a10ff9d9b096754bea1e +6cd68c2f87832ef39eb502a20d358b4c7fa37b9e diff --git a/python/src/ir.cc b/python/src/ir.cc index 451bb49a0b41..e17be9b762a4 100644 --- a/python/src/ir.cc +++ b/python/src/ir.cc @@ -206,7 +206,8 @@ void init_triton_ir(py::module &&m) { }); py::class_(m, "type", py::module_local()) - .def("is_integer", &Type::isInteger) + .def("is_integer", + [](Type &self, unsigned width) { return self.isInteger(width); }) .def("is_fp16", &Type::isF16) .def("__str__", [](Type &self) { std::string str;