[PATCH] D134380: [GlobalISel] Fix known bits for G_ASSERT_ALIGN.
Gheorghe-Teodor Bercea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 14:12:14 PDT 2022
doru1004 added a comment.
I am getting this error with the latest main:
/home/dobercea/upstream/llvm-project/llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp: In member function ‘llvm::Align llvm::GISelKnownBits::computeKnownAlignment(llvm::Register, unsigned int)’:
/home/dobercea/upstream/llvm-project/llvm/lib/CodeGen/GlobalISel/GISelKnownBits.cpp:42:58: error: no matching function for call to ‘max(long long int, int64_t)’
42 | return Align(std::max(1LL, MI->getOperand(2).getImm()));
| ^
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134380/new/
https://reviews.llvm.org/D134380
More information about the llvm-commits
mailing list