[mlir] Silence error: call to constructor of 'llvm::APInt' is ambiguous
I was getting this error when using Clang 9.0.1 for compiling. F:\llvm-project\mlir\lib\IR\Builders.cpp(119,27): error: call to constructor of 'llvm::APInt' is ambiguous APInt(32, value, /*isSigned=*/false)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ F:\llvm-project\llvm\include\llvm/ADT/APInt.h(277,3): note: candidate constructor APInt(unsigned numBits, uint64_t val, bool isSigned = false) ^ F:\llvm-project\llvm\include\llvm/ADT/APInt.h(304,3): note: candidate constructor APInt(unsigned numBits, unsigned numWords, const uint64_t bigVal[]); ^ 1 error generated.
Loading
Please sign in to comment