[all-commits] [llvm/llvm-project] 261752: [compiler-rt] initialize variables to silence warn...

Tim Northover via All-commits all-commits at lists.llvm.org
Wed Feb 1 05:30:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 261752fbc60403ff26e1865865ae5306e0482078
      https://github.com/llvm/llvm-project/commit/261752fbc60403ff26e1865865ae5306e0482078
  Author: Tim Northover <tnorthover at apple.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model.c

  Log Message:
  -----------
  [compiler-rt] initialize variables to silence warning. NFC.

They were being initialized anyway, I believe, but the logic was a bit
convoluted for the Clang warnings to detect so we were getting "variable 'EBX'
may be uninitialized when used here" later on.




More information about the All-commits mailing list