aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/XCore
diff options
context:
space:
mode:
authorMartin Wehking <martin.wehking@codeplay.com>2024-02-25 12:56:12 +0000
committerGitHub <noreply@github.com>2024-02-25 18:26:12 +0530
commit4bf06c16fcddcfcea332069bdde5cbf1401513cf (patch)
tree3659d5fbdb2d4516e4406a1b0daf4b7cb269452a /llvm/lib/Target/XCore
parent85da9f80b89be7b96bc1b22909062286fab9dc31 (diff)
downloadllvm-4bf06c16fcddcfcea332069bdde5cbf1401513cf.zip
llvm-4bf06c16fcddcfcea332069bdde5cbf1401513cf.tar.gz
llvm-4bf06c16fcddcfcea332069bdde5cbf1401513cf.tar.bz2
Initialize unsigned integer when declared (#81894)
Initialize ModOpcode directly before the loop execution to silence static analyzer warnings about the usage of an uninitialized variable. This leads to a redundant assignment of ElV2F16 inside the first loop execution, but also avoids superfluous emptiness checks of EltsV2F16 after the first execution of the loop.
Diffstat (limited to 'llvm/lib/Target/XCore')
0 files changed, 0 insertions, 0 deletions