diff options
author | Mikael Holmen <mikael.holmen@ericsson.com> | 2024-06-11 09:30:15 +0200 |
---|---|---|
committer | Mikael Holmen <mikael.holmen@ericsson.com> | 2024-06-11 09:33:28 +0200 |
commit | bd9a525efdab2a83cb24773d95ce8c4a2e9cce68 (patch) | |
tree | 39c7adb1ab1af8a4f027b56e8d52fd3eb6ee4619 /llvm/unittests/ADT/APFloatTest.cpp | |
parent | baad1b85b93c0b5ce0341668259ae21911bed8b1 (diff) | |
download | llvm-bd9a525efdab2a83cb24773d95ce8c4a2e9cce68.zip llvm-bd9a525efdab2a83cb24773d95ce8c4a2e9cce68.tar.gz llvm-bd9a525efdab2a83cb24773d95ce8c4a2e9cce68.tar.bz2 |
[AArch64] Fix gcc "enumeral and non-enumeral type" warning
Without this gcc (9.3.0) warns with
../lib/Target/AArch64/GISel/AArch64CallLowering.cpp: In function 'unsigned int getCallOpcode(const llvm::MachineFunction&, bool, bool, std::optional<llvm::CallLowering::PtrAuthInfo>&, llvm::MachineRegisterInfo&)':
../lib/Target/AArch64/GISel/AArch64CallLowering.cpp:1025: warning: enumeral and non-enumeral type in conditional expression [-Wextra]
1025 | return IsIndirect ? getBLRCallOpcode(CallerF) : AArch64::BL;
|
Diffstat (limited to 'llvm/unittests/ADT/APFloatTest.cpp')
0 files changed, 0 insertions, 0 deletions