aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp
diff options
context:
space:
mode:
authorFrederik Harwath <frederik.harwath@amd.com>2025-10-13 09:18:03 +0200
committerGitHub <noreply@github.com>2025-10-13 09:18:03 +0200
commit7314565281ec28b745502c3f429fd431e16673eb (patch)
tree70e4e7bf1c6ce5c80910320c136dddf6cedc5cb7 /llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp
parent2db5b326e18be5e1af57e433b90e8d89cd70b4d5 (diff)
downloadllvm-7314565281ec28b745502c3f429fd431e16673eb.zip
llvm-7314565281ec28b745502c3f429fd431e16673eb.tar.gz
llvm-7314565281ec28b745502c3f429fd431e16673eb.tar.bz2
[AMDGPU] expand-fp: unify scalarization (NFC) (#158588)
Extend the existing "scalarize" function which is used for the fp-integer conversion instruction expansion to BinaryOperator instructions and reuse it for the frem expansion; a similar function for scalarizing BinaryOperator instructions exists in the ExpandLargeDivRem pass and this change is a step towards merging that pass with ExpandFp. Further refactoring: Scalarize directly instead of using the "ReplaceVector" as a worklist, rename "Replace" vector to "Worklist", and hoist a check for unsupported scalable vectors to the top of the instruction visiting loop.
Diffstat (limited to 'llvm/lib/CodeGen/StackFrameLayoutAnalysisPass.cpp')
0 files changed, 0 insertions, 0 deletions