[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
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-02-10 (Thu, 10 Feb 2022)
[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