[all-commits] [llvm/llvm-project] c16a58: Attributes: Add function getter to parse integer s...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Dec 14 10:12:49 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c16a58b36caebbc34dfa0f788a019d041e5484df
https://github.com/llvm/llvm-project/commit/c16a58b36caebbc34dfa0f788a019d041e5484df
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-12-14 (Wed, 14 Dec 2022)
Changed paths:
M llvm/include/llvm/CodeGen/StackProtector.h
M llvm/include/llvm/IR/Function.h
M llvm/lib/CodeGen/StackProtector.cpp
M llvm/lib/CodeGen/XRayInstrumentation.cpp
M llvm/lib/IR/Function.cpp
M llvm/lib/Target/AArch64/AArch64FrameLowering.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
M llvm/lib/Target/AMDGPU/SIFormMemoryClauses.cpp
M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
M llvm/lib/Target/ARM/ARMFrameLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
M llvm/lib/Target/SystemZ/SystemZISelLowering.cpp
M llvm/lib/Target/X86/X86DynAllocaExpander.cpp
M llvm/lib/Target/X86/X86ISelLowering.cpp
M llvm/test/CodeGen/AMDGPU/attr-unparseable.ll
Log Message:
-----------
Attributes: Add function getter to parse integer string attributes
The most common case for string attributes parses them as integers. We
don't have a convenient way to do this, and as a result we have
inconsistent missing attribute and invalid attribute handling
scattered around. We also have inconsistent radix usage to
getAsInteger; some places use the default 0 and others use base 10.
Update a few of the uses, but there are quite a lot of these.
More information about the All-commits
mailing list