[PATCH] D134380: [GlobalISel] Fix known bits for G_ASSERT_ALIGN.
Amara Emerson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 21 14:15:19 PDT 2022
aemerson added a comment.
In D134380#3806943 <https://reviews.llvm.org/D134380#3806943>, @doru1004 wrote:
> 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()));
> | ^
Sorry about that, someone fixed this in 2d975f1efe6cdb4f6303cfe33a3a06cbe02e755a <https://reviews.llvm.org/rG2d975f1efe6cdb4f6303cfe33a3a06cbe02e755a>
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