[all-commits] [llvm/llvm-project] 8de729: [AMDGPU] Pull out repeated getVecSize() calls. NFC.
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Feb 10 08:32:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8de72973743ff5bcc72e0bdd0016b21dc6530352
https://github.com/llvm/llvm-project/commit/8de72973743ff5bcc72e0bdd0016b21dc6530352
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-02-10 (Thu, 10 Feb 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
Log Message:
-----------
[AMDGPU] Pull out repeated getVecSize() calls. NFC.
This is guaranteed to be evaluated so we can avoid repeated calls.
Helps the static analyzer as it couldn't recognise that each getVecSize() would return the same value.
More information about the All-commits
mailing list