diff options
author | Jay Foad <jay.foad@amd.com> | 2024-10-22 12:20:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-22 12:20:36 +0100 |
commit | b3acb25735fdeeafcc0944ad85d2af27fe332c10 (patch) | |
tree | 0b178df684762955fdfd3fc7cc8d879db139db0e /clang/lib/Basic/Module.cpp | |
parent | 6e0b0038cd65ce726ce404305a06e1cf33e36cca (diff) | |
download | llvm-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