[all-commits] [llvm/llvm-project] bd9a52: [AArch64] Fix gcc "enumeral and non-enumeral type"...
Mikael Holmén via All-commits
all-commits at lists.llvm.org
Tue Jun 11 00:39:31 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bd9a525efdab2a83cb24773d95ce8c4a2e9cce68
https://github.com/llvm/llvm-project/commit/bd9a525efdab2a83cb24773d95ce8c4a2e9cce68
Author: Mikael Holmen <mikael.holmen at ericsson.com>
Date: 2024-06-11 (Tue, 11 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp
Log Message:
-----------
[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;
|
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list