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/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | baad1b85b93c0b5ce0341668259ae21911bed8b1 (diff) | |
[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/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
