aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/Module.cpp
diff options
context:
space:
mode:
authorJay Foad <jay.foad@amd.com>2024-10-22 12:20:36 +0100
committerGitHub <noreply@github.com>2024-10-22 12:20:36 +0100
commitb3acb25735fdeeafcc0944ad85d2af27fe332c10 (patch)
tree0b178df684762955fdfd3fc7cc8d879db139db0e /clang/lib/Basic/Module.cpp
parent6e0b0038cd65ce726ce404305a06e1cf33e36cca (diff)
downloadllvm-b3acb25735fdeeafcc0944ad85d2af27fe332c10.zip
llvm-b3acb25735fdeeafcc0944ad85d2af27fe332c10.tar.gz
llvm-b3acb25735fdeeafcc0944ad85d2af27fe332c10.tar.bz2
[AMDGPU] Don't rely on !eq comparing int with bits<5>. NFC. (#113279)
Tweak VOP2eInst_Base so that it does not rely on !eq comparing an int value (-1) with a bits<5> value. This is to avoid a change in behaviour when #112904 lands, which is a bug fix which has the side effect of implicitly casting template arguments to the declared template parameter type.
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions