google / fully-homomorphic-encryption

An FHE compiler for C++
Apache License 2.0
3.5k stars 251 forks source link

Failed build using supplied Docker #77

Open 8BitIQ opened 5 months ago

8BitIQ commented 5 months ago

While using the supplied instructions to build the docker image, the process fails. There seems to be some checksum error with loading com_grail_bazel_toolchain

Error message log data is below:

[6/7] RUN bazel build @llvm_toolchain//:all: 3.270 2024/03/11 00:54:40 Downloading https://releases.bazel.build/5.4.1/release/bazel-5.4.1-linux-x86_64... 6.849 Extracting Bazel installation... 130.8 Starting local Bazel server and connecting to it... 134.2 Loading: 134.3 Loading: 0 packages loaded 135.3 Loading: 0 packages loaded"/bin/sh -c bazel build @llvm_toolchain//:all" did not complete successfully: exit code:136.3 Loading: 0 packages loaded 137.3 Loading: 0 packages loaded 137.4 INFO: Repository com_grail_bazel_toolchain instantiated at:-encryption-main>docker run --rm -i -t google-fhe-trans137.4 /usr/src/fhe/WORKSPACE:94:13: in 137.4 Repository rule http_archive defined at:test' locally 137.4 /root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in : requested access to the resource is denied. 137.5 WARNING: Download from https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4:default 137.5 ERROR: An error occurred during the fetch of repository 'com_grail_bazel_toolchain': 0.8s 137.5 Traceback (most recent call last): 0.0s 137.5 ntFile "/root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_implcker.io 0.0s 137.5 nternal] ldownload_info = ctx.download_and_extract( 0.8s 137.5 Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip] to /root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/com_grail_bazel_toolchain/temp15147802889498845463/0.8.zip: Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4 0.1s 137.5 ERROR: /usr/src/fhe/WORKSPACE:94:13: fetching http_archive rule //external:com_grail_bazel_toolchain: Traceback (most recent call last):get -O bazel "https://github.com/bazelbuild/bazelisk/releases/download/v1.12.0/bazelisk-lin 0.0s 137.5 CHFile "/root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl 0.0s 137.5 /7] RUN badownload_info = ctx.download_and_extract( 116.7s 137.5 Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip] to /root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/com_grail_bazel_toolchain/temp15147802889498845463/0.8.zip: Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4 137.5 ERROR: no such package '@com_grail_bazel_toolchain//toolchain': java.io.IOException: Error downloading [https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip] to /root/.cache/bazel/_bazel_root/595596dc4dacd40e54f4e8ca596c8a84/external/com_grail_bazel_toolchain/temp15147802889498845463/0.8.zip: Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4 137.6 INFO: Elapsed time: 130.645s 137.6 INFO: 0 processes. 137.6 FAILED: Build did NOT complete successfully (0 packages loaded) 137.6 FAILED: Build did NOT complete successfully (0 packages loaded)

debian-bullseye.Dockerfile:51

49 | # it's necessary for some reason, this will allow docker to cache the resulting 50 | # image and build failures unrelated to LLVM will not incur a rebuild of LLVM. 51 | >>> RUN bazel build @llvm_toolchain//:all 52 | 53 | # Build all targets.

ERROR: failed to solve: process "/bin/sh -c bazel build @llvm_toolchain//:all" did not complete successfully: exit code: 1

j2kun commented 5 months ago

I think I know why this is happening: bazelisk downloads a dynamically chosen bazel binary when run, and they recently pushed a new version of bazel by default. I don't know why we're doing a checksum in the dockerfile, and you could just delete that checksum as a temporary workaround.

8BitIQ commented 5 months ago

I tried the alternative version to download the code and build from scratch and manually updated the WORKSPACE file to point to the hash identified in the error. Ran again and had to update the remaining fields for strip_prefix and url based on new errors. It made it further in the build process but then could not find required functions when executing the demo code. I'm not overly familiar with Bazel /Bazalisk so I may have done something wrong. If there is a way we can update the code so it points to the correct dependencies versus the latest versions and make the build stable that would be greatly appreciated.

8BitIQ commented 5 months ago

To follow up with my efforts. I attempted to modify the WORKSPACE file on an Ubuntu VM before running the command: bazel run //transpiler/examples/hangman:hangman_client

The first edit I did was to remove the reference to the SHA256 hash for com_grail_bazel_toolchain.
This resulted in an new set of errors:

bazel run //transpiler/examples/hangman:hangman_client INFO: Repository com_grail_bazel_toolchain instantiated at: /home/ubuntu/Documents/fully-homomorphic-encryption/WORKSPACE:94:13: in Repository rule http_archive defined at: /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in ERROR: An error occurred during the fetch of repository 'com_grail_bazel_toolchain': Traceback (most recent call last): File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl download_info = ctx.download_and_extract( Error in download_and_extract: java.io.IOException: Error extracting /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolchain/temp15112593718089429024/0.8.zip to /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolchain/temp15112593718089429024: Prefix "bazel-toolchain-0.8" was given, but not found in the archive. Here are possible prefixes for this archive: "toolchains_llvm-0.8". ERROR: /home/ubuntu/Documents/fully-homomorphic-encryption/WORKSPACE:94:13: fetching http_archive rule //external:com_grail_bazel_toolchain: Traceback (most recent call last): File "/home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl download_info = ctx.download_and_extract( Error in download_and_extract: java.io.IOException: Error extracting /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolchain/temp15112593718089429024/0.8.zip to /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolchain/temp15112593718089429024: Prefix "bazel-toolchain-0.8" was given, but not found in the archive. Here are possible prefixes for this archive: "toolchains_llvm-0.8". ERROR: no such package '@com_grail_bazel_toolchain//toolchain': java.io.IOException: Error extracting /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolchain/temp15112593718089429024/0.8.zip to /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolchain/temp15112593718089429024: Prefix "bazel-toolchain-0.8" was given, but not found in the archive. Here are possible prefixes for this archive: "toolchains_llvm-0.8". INFO: Elapsed time: 2.223s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded) Fetching ...lchain; Extracting /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/com_grail_bazel_toolcha\ in/temp15112593718089429024/0.8.zip


This seems to indicate that the WORKSPACE entry also has a bad reference to the source file has been renamed from "bazel-toolchain-0.8" to "toolchains_llvm-0.8". I then removed the Prefix reference as well and below was the output:

ubuntu@ubun2004:~/Documents/fully-homomorphic-encryption$ bazel run //transpiler/examples/hangman:hangman_client DEBUG: Rule 'com_grail_bazel_toolchain' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8" DEBUG: Repository com_grail_bazel_toolchain instantiated at: /home/ubuntu/Documents/fully-homomorphic-encryption/WORKSPACE:94:13: in Repository rule http_archive defined at: /home/ubuntu/.cache/bazel/_bazel_ubuntu/6aefe7915c1e3a300d44cbe577773fa5/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in ERROR: error loading package '': Every .bzl file must have a corresponding package, but '@com_grail_bazel_toolchain//toolchain:deps.bzl' does not have one. Please create a BUILD file in the same or any parent directory. Note that this BUILD file does not need to do anything except exist. INFO: Elapsed time: 3.754s INFO: 0 processes. FAILED: Build did NOT complete successfully (0 packages loaded) FAILED: Build did NOT complete successfully (0 packages loaded) ubuntu@ubun2004:~/Documents/fully-homomorphic-encryption$ ls BUILD Cargo.Bazel.lock Cargo.lock CONTRIBUTING.md docker LICENSE patches README.md requirements.txt transpiler WORKSPACE


I then modified the WORKSPACE file again to set the prefix to "toolchains_llvm-0.8" and ran again. It spent about an hour building and then failed. However I think the failure was due to running out out space on a partition on the VM I was using. I'll have to try again with a bigger allocation. It Failed after 10GB was added to the /home directory. Not sure how big the entire system is to adjust the size.

8BitIQ commented 5 months ago

Didn't mean to close with my last comment. The docker build still references the hard coded data and fails to build

8BitIQ commented 5 months ago

Ok this is a bit of a long log. I tried to build on an EC2 Ubnuntu instance just to test if the process worked. After editing the WORKSPACE as described above, I tired to build one of the examples. After about 2 hours it failed.

Any idea why it failed?

The error from the below logs is extracted here followed by the full logs:


Generating IR... ERROR: /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/external/abc/BUILD.bazel:7:5: Foreign Cc - Make: Building abc failed: (Exit 2): bash failed: error executing command (cd /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption && \ exec env - \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \ /bin/bash -c bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc_foreign_cc/wrapper_build_script.sh)

Configuration: 625532f7154e1e5cbaf1a4b5258178981d880ae5b5931cdec360902c2ad0c853

Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreign_cc: Printing build logs:


ubuntu@ip-172-31-6-221:~/fully-homomorphic-encryption$ sudo bazel run --verbose_failures //transpiler/examples/fibonacci:fibonacci_rs_main DEBUG: Rule 'com_grail_bazel_toolchain' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8" DEBUG: Repository com_grail_bazel_toolchain instantiated at: /home/ubuntu/fully-homomorphic-encryption/WORKSPACE:94:13: in Repository rule http_archive defined at: /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in DEBUG: /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/external/com_grail_bazel_toolchain/toolchain/internal/llvm_distributions.bzl:283:14: LLVM archive URLs missing for host OS key 'ubuntu-20.04-x86_64'; checking fallback with key '' DEBUG: Rule 'llvm_toolchain_llvm' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = {"": "61582215dafafb7b576ea30cc136be92c877ba1f1c31ddbbd372d6d65622fef5"} DEBUG: Repository llvm_toolchain_llvm instantiated at: /home/ubuntu/fully-homomorphic-encryption/WORKSPACE:109:15: in /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/external/com_grail_bazel_toolchain/toolchain/rules.bzl:276:13: in llvm_toolchain Repository rule llvm defined at: /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/external/com_grail_bazel_toolchain/toolchain/rules.bzl:256:23: in INFO: Analyzed target //transpiler/examples/fibonacci:fibonacci_rs_main (0 packages loaded, 0 targets configured). INFO: Found 1 target... INFO: From Compiling llvm/utils/TableGen/RegisterInfoEmitter.cpp [for host]: In file included from external/llvm-project/llvm/utils/TableGen/RegisterInfoEmitter.cpp:16: external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h: In function '_ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = const llvm::CodeGenRegisterClass*; _Tp = const llvm::CodeGenRegisterClass; _Compare = gnu_cxx::__ops::_Iter_comp_val<{anonymous}::RegisterInfoEmitter::runTargetDesc(llvm::raw_ostream&, llvm::CodeGenTarget&, llvm::CodeGenRegBank&)::BaseClassOrdering>]': external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h: In function '_ForwardIterator std::upper_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = const llvm::CodeGenRegisterClass*; _Tp = const llvm::CodeGenRegisterClass; _Compare = gnu_cxx::__ops::_Val_comp_iter<{anonymous}::RegisterInfoEmitter::runTargetDesc(llvm::raw_ostream&, llvm::CodeGenTarget&, llvm::CodeGenRegBank&)::BaseClassOrdering>]': external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h: In function '_OutputIterator std::move_merge(_InputIterator, _InputIterator, _InputIterator, _InputIterator, _OutputIterator, _Compare) [with _InputIterator = const llvm::CodeGenRegisterClass; _OutputIterator = const llvm::CodeGenRegisterClass; _Compare = gnu_cxx::__ops::_Iter_comp_iter<{anonymous}::RegisterInfoEmitter::runTargetDesc(llvm::raw_ostream&, llvm::CodeGenTarget&, llvm::CodeGenRegBank&)::BaseClassOrdering>]': external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h: In function 'void std::insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = const llvm::CodeGenRegisterClass**; _Compare = gnu_cxx::__ops::_Iter_comp_iter<{anonymous}::RegisterInfoEmitter::runTargetDesc(llvm::raw_ostream&, llvm::CodeGenTarget&, llvm::CodeGenRegBank&)::BaseClassOrdering>]': external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h: In function 'void std::merge_without_buffer(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Compare) [with _BidirectionalIterator = const llvm::CodeGenRegisterClass**; _Distance = long int; _Compare = __gnu_cxx::ops::_Iter_comp_iter<{anonymous}::RegisterInfoEmitter::runTargetDesc(llvm::raw_ostream&, llvm::CodeGenTarget&, llvm::CodeGenRegBank&)::BaseClassOrdering>]': external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h: In function 'void std::merge_adaptive(_BidirectionalIterator, _BidirectionalIterator, _BidirectionalIterator, _Distance, _Distance, _Pointer, _Distance, _Compare) [with _BidirectionalIterator = const llvm::CodeGenRegisterClass; _Distance = long int; _Pointer = const llvm::CodeGenRegisterClass; _Compare = __gnu_cxx::ops::_Iter_comp_iter<{anonymous}::RegisterInfoEmitter::runTargetDesc(llvm::raw_ostream&, llvm::CodeGenTarget&, llvm::CodeGenRegBank&)::BaseClassOrdering>]': external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ external/llvm-project/llvm/utils/TableGen/CodeGenRegisters.h:483:15: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 483 return {}; ^ INFO: From Compiling llvm/lib/Support/APFloat.cpp [for host]: external/llvm-project/llvm/lib/Support/APFloat.cpp: In member function 'llvm::Expected llvm::detail::IEEEFloat::convertFromDecimalString(llvm::StringRef, llvm::APFloatBase::roundingMode)': external/llvm-project/llvm/lib/Support/APFloat.cpp:3027:36: warning: 'D.llvm::decimalInfo::normalizedExponent' may be used uninitialized in this function [-Wmaybe-uninitialized] 3027 (D.normalizedExponent + 1) * 28738 <= ~~~~^~ external/llvm-project/llvm/lib/Support/APFloat.cpp:3088:16: warning: 'D.llvm::decimalInfo::lastSigDigit' may be used uninitialized in this function [-Wmaybe-uninitialized] 3088 } while (p <= D.lastSigDigit); ^~~~~~~ external/llvm-project/llvm/lib/Support/APFloat.cpp:3047:58: warning: 'D.llvm::decimalInfo::firstSigDigit' may be used uninitialized in this function [-Wmaybe-uninitialized] 3047 partCount = static_cast(D.lastSigDigit - D.firstSigDigit) + 1; ~~~^~~~~ external/llvm-project/llvm/lib/Support/APFloat.cpp:3091:38: warning: 'D.llvm::decimalInfo::exponent' may be used uninitialized in this function [-Wmaybe-uninitialized] 3091 fs = roundSignificandWithExponent(decSignificand, partCount, ~~~~~~^~~~~~~~~ 3092 D.exponent, rounding_mode); ~~~~~~ INFO: From Compiling llvm/lib/Support/APFloat.cpp: external/llvm-project/llvm/lib/Support/APFloat.cpp: In member function 'llvm::Expected llvm::detail::IEEEFloat::convertFromDecimalString(llvm::StringRef, llvm::APFloatBase::roundingMode)': external/llvm-project/llvm/lib/Support/APFloat.cpp:3027:36: warning: 'D.llvm::decimalInfo::normalizedExponent' may be used uninitialized in this function [-Wmaybe-uninitialized] 3027 (D.normalizedExponent + 1) * 28738 <= ~~~~^~ external/llvm-project/llvm/lib/Support/APFloat.cpp:3088:16: warning: 'D.llvm::decimalInfo::lastSigDigit' may be used uninitialized in this function [-Wmaybe-uninitialized] 3088 } while (p <= D.lastSigDigit); ^~~~~~~ external/llvm-project/llvm/lib/Support/APFloat.cpp:3047:58: warning: 'D.llvm::decimalInfo::firstSigDigit' may be used uninitialized in this function [-Wmaybe-uninitialized] 3047 partCount = static_cast(D.lastSigDigit - D.firstSigDigit) + 1; ~~~^~~~~ external/llvm-project/llvm/lib/Support/APFloat.cpp:3091:38: warning: 'D.llvm::decimalInfo::exponent' may be used uninitialized in this function [-Wmaybe-uninitialized] 3091 fs = roundSignificandWithExponent(decSignificand, partCount, ~~~~~~^~~~~~~~~ 3092 D.exponent, rounding_mode); ~~~~~~ INFO: From Compiling llvm/lib/Support/YAMLParser.cpp: external/llvm-project/llvm/lib/Support/YAMLParser.cpp: In member function 'bool llvm::yaml::Scanner::findBlockScalarIndent(unsigned int&, unsigned int, unsigned int&, bool&)': external/llvm-project/llvm/lib/Support/YAMLParser.cpp:267:5: warning: 'LongestAllSpaceLine' may be used uninitialized in this function [-Wmaybe-uninitialized] 267 if (Position >= End) ^~ external/llvm-project/llvm/lib/Support/YAMLParser.cpp:1624:23: note: 'LongestAllSpaceLine' was declared here 1624 StringRef::iterator LongestAllSpaceLine; ^~~~~~~ INFO: From Compiling llvm/lib/Support/VirtualFileSystem.cpp: external/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp: In member function 'std::unique_ptr llvm::vfs::RedirectingFileSystemParser::parseEntry(llvm::yaml::Node, llvm::vfs::RedirectingFileSystem, bool)': external/llvm-project/llvm/lib/Support/VirtualFileSystem.cpp:1961:5: warning: 'Kind' may be used uninitialized in this function [-Wmaybe-uninitialized] 1961 switch (Kind) { ^~ INFO: From Compiling llvm/lib/Support/RISCVISAInfo.cpp: external/llvm-project/llvm/lib/Support/RISCVISAInfo.cpp: In member function 'void llvm::RISCVISAInfo::updateMaxELen()': external/llvm-project/llvm/lib/Support/RISCVISAInfo.cpp:1082:16: warning: 'ZveELen' may be used uninitialized in this function [-Wmaybe-uninitialized] 1082 unsigned ZveELen; ^~~ INFO: From Compiling llvm/lib/MC/MachObjectWriter.cpp: external/llvm-project/llvm/lib/MC/MachObjectWriter.cpp: In member function 'void llvm::MachObjectWriter::writeNlist(llvm::MachObjectWriter::MachSymbolData&, const llvm::MCAsmLayout&)': external/llvm-project/llvm/lib/MC/MachObjectWriter.cpp:382:13: warning: 'AliaseeInfo' may be used uninitialized in this function [-Wmaybe-uninitialized] 382 Address = AliaseeInfo->StringIndex; ~~^~~~~~~~ INFO: From Compiling llvm/lib/MC/ELFObjectWriter.cpp: external/llvm-project/llvm/lib/MC/ELFObjectWriter.cpp: In function 'uint64_t {anonymous}::ELFWriter::writeObject(llvm::MCAssembler&, const llvm::MCAsmLayout&)': external/llvm-project/llvm/lib/MC/ELFObjectWriter.cpp:1168:19: warning: 'AddrsigSection' may be used uninitialized in this function [-Wmaybe-uninitialized] 1168 MCSectionELF *AddrsigSection; ^~~~~~ INFO: From Compiling llvm/lib/MC/WasmObjectWriter.cpp: external/llvm-project/llvm/lib/MC/WasmObjectWriter.cpp: In member function 'uint64_t {anonymous}::WasmObjectWriter::writeOneObject(llvm::MCAssembler&, const llvm::MCAsmLayout&, {anonymous}::WasmObjectWriter::DwoMode)': external/llvm-project/llvm/lib/MC/WasmObjectWriter.cpp:1954:22: warning: 'DataSectionIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] 1954 writeRelocSection(DataSectionIndex, "DATA", DataRelocations); ~~~^~~~~~~~~ external/llvm-project/llvm/lib/MC/WasmObjectWriter.cpp:1953:22: warning: 'CodeSectionIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] 1953 writeRelocSection(CodeSectionIndex, "CODE", CodeRelocations); ~~~^~~~~~~~~ INFO: From Compiling llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp: external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp: In member function 'llvm::Error llvm::BitcodeAnalyzer::decodeMetadataStringsBlob(llvm::StringRef, llvm::ArrayRef, llvm::StringRef, llvm::raw_ostream&)': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp:544:26: warning: 'Size' may be used uninitialized in this function [-Wmaybe-uninitialized] 544 if (Strings.size() < Size) ^~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp: In member function 'llvm::Error llvm::BitcodeAnalyzer::parseBlock(unsigned int, unsigned int, std::optional, std::optional)': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp:516:53: warning: 'Code' may be used uninitialized in this function [-Wmaybe-uninitialized] 516 return BlockID == bitc::METADATA_BLOCK_ID && Code == bitc::METADATA_STRINGS; ~^~~~~~~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp:848:14: note: 'Code' was declared here 848 unsigned Code; ^~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp:803:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 803 switch (Entry.Kind) { ^~ INFO: From Compiling llvm/lib/Bitcode/Reader/MetadataLoader.cpp: external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'llvm::Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataStrings(llvm::ArrayRef, llvm::StringRef, llvm::function_ref<void(llvm::StringRef)>)': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:2191:26: warning: 'Size' may be used uninitialized in this function [-Wmaybe-uninitialized] 2191 if (Strings.size() < Size) ^~~~ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'llvm::Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataKinds()': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:2348:70: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 2348 Expected MaybeCode = Stream.readRecord(Entry.ID, Record); ^ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:2334:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 2334 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'llvm::Expected llvm::MetadataLoader::MetadataLoaderImpl::lazyLoadModuleMetadataBlock()': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:706:16: warning: 'Code' may be used uninitialized in this function [-Wmaybe-uninitialized] 706 unsigned Code; ^~~~ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:785:56: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 785 IndexCursor.readRecord(Entry.ID, Record)) { ^ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:695:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 695 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'void llvm::MetadataLoader::MetadataLoaderImpl::lazyLoadOneMetadata(unsigned int, {anonymous}::{anonymous}::PlaceholderQueue&)': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:1088:57: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 1088 IndexCursor.readRecord(Entry.ID, Record, &Blob)) { ^ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'llvm::Expected llvm::MetadataLoader::MetadataLoaderImpl::loadGlobalDeclAttachments()': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:933:51: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 933 TempCursor.readRecord(Entry.ID, Record)) ^ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:903:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 903 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'llvm::Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadataAttachment(llvm::Function&, llvm::ArrayRef<llvm::Instruction*>)': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:2246:72: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 2246 Expected MaybeRecord = Stream.readRecord(Entry.ID, Record); ^ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:2231:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 2231 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp: In member function 'llvm::Error llvm::MetadataLoader::MetadataLoaderImpl::parseMetadata(bool)': external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:1047:54: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 1047 Stream.readRecord(Entry.ID, Record, &Blob)) { ^ external/llvm-project/llvm/lib/Bitcode/Reader/MetadataLoader.cpp:1029:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 1029 switch (Entry.Kind) { ^~ INFO: From Compiling llvm/lib/IR/LegacyPassManager.cpp: external/llvm-project/llvm/lib/IR/LegacyPassManager.cpp: In member function 'bool llvm::legacy::PassManagerImpl::run(llvm::Module&)': external/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1557:27: warning: 'InstrCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 1557 static_cast(InstrCount); ^~~~~~~~ external/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1521:12: note: 'InstrCount' was declared here 1521 unsigned InstrCount; ^~~~~~ external/llvm-project/llvm/lib/IR/LegacyPassManager.cpp: In member function 'bool llvm::FPPassManager::runOnFunction(llvm::Function&)': external/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1402:12: warning: 'InstrCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 1402 unsigned InstrCount, FunctionSize = 0; ^~~~~~ INFO: From Compiling llvm/lib/Bitcode/Reader/BitcodeReader.cpp: external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp: In function 'llvm::Expected<std::__cxx11::basic_string > readIdentificationBlock(llvm::BitstreamCursor&)': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:206:73: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 206 Expected MaybeBitCode = Stream.readRecord(Entry.ID, Record); ^ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:193:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 193 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp: In function 'llvm::Expected getEnableSplitLTOUnitFlag(llvm::BitstreamCursor&, unsigned int)': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:8061:73: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 8061 Expected MaybeBitCode = Stream.readRecord(Entry.ID, Record); ^ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:8046:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 8046 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp: In member function 'llvm::Expected llvm::BitcodeModule::getLTOInfo()': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:8093:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 8093 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:8125:71: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 8125 if (Expected StreamFailed = Stream.skipRecord(Entry.ID)) ^ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp: In function 'llvm::Expected llvm::isBitcodeContainingObjCCategory(llvm::MemoryBufferRef)': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:330:38: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 330 if (Error E = Stream.skipRecord(Entry.ID).takeError()) ~~~^~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:310:20: note: 'Entry.llvm::BitstreamEntry::ID' was declared here 310 BitstreamEntry Entry; ^~~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:314:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 314 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:310:20: note: 'Entry' was declared here 310 BitstreamEntry Entry; ^~~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp: In function 'llvm::Expected<std::__cxx11::basic_string > llvm::getBitcodeProducerString(llvm::MemoryBufferRef)': external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:252:38: warning: 'Entry.llvm::BitstreamEntry::ID' may be used uninitialized in this function [-Wmaybe-uninitialized] 252 if (Error E = Stream.skipRecord(Entry.ID).takeError()) ~~~^~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:234:20: note: 'Entry.llvm::BitstreamEntry::ID' was declared here 234 BitstreamEntry Entry; ^~~~~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:238:5: warning: 'Entry' may be used uninitialized in this function [-Wmaybe-uninitialized] 238 switch (Entry.Kind) { ^~ external/llvm-project/llvm/lib/Bitcode/Reader/BitcodeReader.cpp:234:20: note: 'Entry' was declared here 234 BitstreamEntry Entry; ^~~~~ INFO: From Compiling llvm/lib/IR/Instructions.cpp: external/llvm-project/llvm/lib/IR/Instructions.cpp: In static member function 'static bool llvm::ShuffleVectorInst::isInterleaveMask(llvm::ArrayRef, unsigned int, unsigned int, llvm::SmallVectorImpl&)': external/llvm-project/llvm/lib/IR/Instructions.cpp:2790:28: warning: 'SavedLaneValue' may be used uninitialized in this function [-Wmaybe-uninitialized] 2790 SavedLaneValue + SavedNoUndefs != (unsigned)NextLaneValue) ~~~^~~~~~~ INFO: From Compiling llvm/lib/IR/Core.cpp: external/llvm-project/llvm/lib/IR/Core.cpp: In function 'LLVMOpaqueValue LLVMGetInlineAsm(LLVMTypeRef, char, size_t, char*, size_t, LLVMBool, LLVMBool, LLVMInlineAsmDialect, LLVMBool)': external/llvm-project/llvm/lib/IR/Core.cpp:481:29: warning: 'AD' may be used uninitialized in this function [-Wmaybe-uninitialized] 481 return wrap(InlineAsm::get(unwrap(Ty), ~~~~^~~~~~~~ 482 StringRef(AsmString, AsmStringSize), ~~~~~~~~ 483 StringRef(Constraints, ConstraintsSize), ~~~~~~~~ 484 HasSideEffects, IsAlignStack, AD, CanThrow)); ~~~~~~~~~~~ INFO: From Compiling llvm/lib/IR/Attributes.cpp: external/llvm-project/llvm/lib/IR/Attributes.cpp: In function 'void adjustCallerStackProbeSize(llvm::Function&, const llvm::Function&)': external/llvm-project/llvm/lib/IR/Attributes.cpp:2086:7: warning: 'CalleeStackProbeSize' may be used uninitialized in this function [-Wmaybe-uninitialized] 2086 if (CallerStackProbeSize > CalleeStackProbeSize) { ^~ external/llvm-project/llvm/lib/IR/Attributes.cpp:2086:7: warning: 'CallerStackProbeSize' may be used uninitialized in this function [-Wmaybe-uninitialized] external/llvm-project/llvm/lib/IR/Attributes.cpp: In function 'void adjustMinLegalVectorWidth(llvm::Function&, const llvm::Function&)': external/llvm-project/llvm/lib/IR/Attributes.cpp:2113:7: warning: 'CalleeVectorWidth' may be used uninitialized in this function [-Wmaybe-uninitialized] 2113 if (CallerVectorWidth < CalleeVectorWidth) ^~ external/llvm-project/llvm/lib/IR/Attributes.cpp:2113:7: warning: 'CallerVectorWidth' may be used uninitialized in this function [-Wmaybe-uninitialized] external/llvm-project/llvm/lib/IR/Attributes.cpp: In function 'void llvm::AttributeFuncs::updateMinLegalVectorWidthAttr(llvm::Function&, uint64_t)': external/llvm-project/llvm/lib/IR/Attributes.cpp:2210:5: warning: 'OldWidth' may be used uninitialized in this function [-Wmaybe-uninitialized] 2210 if (Width > OldWidth) ^~ INFO: From Compiling llvm/lib/IR/Verifier.cpp: external/llvm-project/llvm/lib/IR/Verifier.cpp: In member function 'void {anonymous}::Verifier::visitMDNode(const llvm::MDNode&, {anonymous}::Verifier::AreDebugLocsAllowed)': external/llvm-project/llvm/lib/IR/Verifier.cpp:621:5: warning: 'Size' may be used uninitialized in this function [-Wmaybe-uninitialized] 621 if (!(C)) { \ ^~ external/llvm-project/llvm/lib/IR/Verifier.cpp:1288:12: note: 'Size' was declared here 1288 size_t Size; ^~~~ INFO: From Compiling llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp: external/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp: In member function 'void llvm::DWARFUnit::updateVariableDieMap(llvm::DWARFDie)': external/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp:816:20: warning: 'LocationAddr' may be used uninitialized in this function [-Wmaybe-uninitialized] 816 LocationAddr += It->getRawOperand(0); ~~~^~~~~ INFO: From Compiling llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp: external/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp: In member function 'llvm::Error llvm::DWARFDebugFrame::parse(llvm::DWARFDataExtractor)': external/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:1096:18: warning: 'EndAugmentationOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 1096 uint64_t EndAugmentationOffset; ^~~~~ external/llvm-project/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp:1095:18: warning: 'StartAugmentationOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 1095 uint64_t StartAugmentationOffset; ^~~~~~~ INFO: From Compiling llvm/lib/Analysis/DependenceAnalysis.cpp: external/llvm-project/llvm/lib/Analysis/DependenceAnalysis.cpp: In member function 'void llvm::DependenceInfo::unifySubscriptType(llvm::ArrayRef<llvm::DependenceInfo::Subscript*>)': external/llvm-project/llvm/lib/Analysis/DependenceAnalysis.cpp:935:40: warning: 'widestType' may be used uninitialized in this function [-Wmaybe-uninitialized] 935 Pair->Dst = SE->getSignExtendExpr(Dst, widestType); ~~~~~^~~~~ INFO: From Compiling clang/lib/Lex/LiteralSupport.cpp: external/llvm-project/clang/lib/Lex/LiteralSupport.cpp: In member function 'bool clang::NumericLiteralParser::GetFixedPointValue(llvm::APInt&, unsigned int)': external/llvm-project/clang/lib/Lex/LiteralSupport.cpp:1509:43: warning: 'ExponentBegin' may be used uninitialized in this function [-Wmaybe-uninitialized] 1509 for (const char *Ptr = DigitsBegin; Ptr < End; ++Ptr) { ~~^~~ INFO: From Compiling clang/lib/Lex/Lexer.cpp: external/llvm-project/clang/lib/Lex/Lexer.cpp: In member function 'std::optional clang::Lexer::tryReadNumericUCN(const char&, const char, clang::Token*)': external/llvm-project/clang/lib/Lex/Lexer.cpp:3337:27: warning: 'NumHexDigits' may be used uninitialized in this function [-Wmaybe-uninitialized] 3337 if (!Delimited && Count != NumHexDigits) { ~~^~~~~~~ INFO: From Compiling llvm/lib/Transforms/Scalar/LoopSink.cpp: external/llvm-project/llvm/lib/Transforms/Scalar/LoopSink.cpp: In function 'bool sinkLoopInvariantInstructions(llvm::Loop&, llvm::AAResults&, llvm::LoopInfo&, llvm::DominatorTree&, llvm::BlockFrequencyInfo&, llvm::MemorySSA&, llvm::ScalarEvolution)': external/llvm-project/llvm/lib/Transforms/Scalar/LoopSink.cpp:215:51: warning: '((void*)& SortedBBsToSinkInto +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] 215 BasicBlock MoveBB = SortedBBsToSinkInto.begin(); ^ INFO: From Compiling llvm/lib/Transforms/Scalar/SROA.cpp: external/llvm-project/llvm/lib/Transforms/Scalar/SROA.cpp: In function 'void rewriteMemOpOfSelect(llvm::SelectInst&, T&, llvm::sroa::SelectHandSpeculativity, llvm::DomTreeUpdater&) [with T = llvm::StoreInst]': external/llvm-project/llvm/lib/Transforms/Scalar/SROA.cpp:1647:12: warning: 'PN' may be used uninitialized in this function [-Wmaybe-uninitialized] 1647 PHINode *PN; ^~ INFO: From Compiling llvm/lib/Transforms/Scalar/EarlyCSE.cpp: external/llvm-project/llvm/lib/Transforms/Scalar/EarlyCSE.cpp: In member function 'bool {anonymous}::EarlyCSE::processNode(llvm::DomTreeNode*)': external/llvm-project/llvm/lib/Transforms/Scalar/EarlyCSE.cpp:1404:17: warning: unused variable 'CI' [-Wunused-variable] 1404 if (auto *CI = dyn_cast(&Inst)) { ^~ INFO: From Compiling llvm/lib/Transforms/InstCombine/InstructionCombining.cpp: external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp: In member function 'llvm::Value llvm::InstCombinerImpl::SimplifySelectsFeedingBinaryOp(llvm::BinaryOperator&, llvm::Value, llvm::Value*)': external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:920:25: warning: 'B' may be used uninitialized in this function [-Wmaybe-uninitialized] 920 True = simplifyBinOp(Opcode, B, RHS, FMF, Q); ~~~^~~~~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:907:10: warning: 'A' may be used uninitialized in this function [-Wmaybe-uninitialized] 907 Cond = A; ~^~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:929:38: warning: 'F' may be used uninitialized in this function [-Wmaybe-uninitialized] 929 if (Value *NewSel = foldAddNegate(E, F, LHS)) ~~~^~~~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:929:38: warning: 'E' may be used uninitialized in this function [-Wmaybe-uninitialized] external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:926:10: warning: 'D' may be used uninitialized in this function [-Wmaybe-uninitialized] 926 Cond = D; ~^~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp:922:38: warning: 'C' may be used uninitialized in this function [-Wmaybe-uninitialized] 922 if (Value *NewSel = foldAddNegate(B, C, RHS)) ~~~^~~~~ INFO: From Compiling llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp: external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp: In member function 'llvm::Instruction* llvm::InstCombinerImpl::foldICmpBinOp(llvm::ICmpInst&, const llvm::SimplifyQuery&)': external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:3914:46: warning: 'YShAmt' may be used uninitialized in this function [-Wmaybe-uninitialized] 3914 auto *NewShAmt = dyn_cast_or_null( ~~~~~~^ 3915 simplifyAddInst(XShAmt, YShAmt, /isNSW=/false, ~~~~~~~~~~~~ 3916 /isNUW=/false, SQ.getWithInstruction(&I))); ~~~~~~~~~~~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:3870:27: note: 'YShAmt' was declared here 3870 Value X, XShAmt, Y, YShAmt; ^~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:3914:46: warning: 'XShAmt' may be used uninitialized in this function [-Wmaybe-uninitialized] 3914 auto *NewShAmt = dyn_cast_or_null( ~~~~~~^ 3915 simplifyAddInst(XShAmt, YShAmt, /isNSW=/false, ~~~~~~~~~~~~ 3916 /isNUW=/false, SQ.getWithInstruction(&I))); ~~~~~~~~~~~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp:3870:14: note: 'XShAmt' was declared here 3870 Value X, XShAmt, Y, YShAmt; ^~ INFO: From Compiling llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp: external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp: In member function 'llvm::Instruction* llvm::InstCombinerImpl::foldVariableSignZeroExtensionOfVariableHighBitExtract(llvm::BinaryOperator&)': external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp:1466:16: warning: 'HighBitExtract' may be used uninitialized in this function [-Wmaybe-uninitialized] 1466 Instruction *HighBitExtract; ^~~~~~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp: In function 'llvm::Value getShiftedValue(llvm::Value, unsigned int, bool, llvm::InstCombinerImpl&, const llvm::DataLayout&)': external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp:608:16: warning: 'C1' may be used uninitialized in this function [-Wmaybe-uninitialized] 608 const APInt *C1; ^~ external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp: In function 'llvm::Instruction dropRedundantMaskingOfLeftShiftInput(llvm::BinaryOperator, const llvm::SimplifyQuery&, llvm::InstCombiner::BuilderTy&)': external/llvm-project/llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp:266:50: warning: 'ShiftShAmt' may be used uninitialized in this function [-Wmaybe-uninitialized] 266 auto *ShAmtsDiff = dyn_cast_or_null(simplifySubInst( ~~~~~~^~~~~ 267 ShiftShAmt, MaskShAmt, /IsNSW=/false, /IsNUW=/false, Q)); ~~~~~~~~~~~~ INFO: From Compiling llvm/lib/Transforms/Vectorize/VectorCombine.cpp: external/llvm-project/llvm/lib/Transforms/Vectorize/VectorCombine.cpp: In function '{anonymous}::ScalarizationResult canScalarizeAccess(llvm::FixedVectorType, llvm::Value, llvm::Instruction*, llvm::AssumptionCache&, const llvm::DominatorTree&)': external/llvm-project/llvm/lib/Transforms/Vectorize/VectorCombine.cpp:970:42: warning: 'IdxBase' may be used uninitialized in this function [-Wmaybe-uninitialized] 970 : Status(Status), ToFreeze(ToFreeze) {} ^ external/llvm-project/llvm/lib/Transforms/Vectorize/VectorCombine.cpp:1044:10: note: 'IdxBase' was declared here 1044 Value *IdxBase; ^~~ [1,280 / 2,315] 4 actions running INFO: From Compiling llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/CodeGen/BranchFolding.cpp: external/llvm-project/llvm/lib/CodeGen/BranchFolding.cpp: In member function 'bool llvm::BranchFolder::TailMergeBlocks(llvm::MachineFunction&)': external/llvm-project/llvm/lib/CodeGen/BranchFolding.cpp:1095:9: warning: 'ML' may be used uninitialized in this function [-Wmaybe-uninitialized] 1095 if (ML != MLI->getLoopFor(PBB)) ^~ INFO: From Compiling llvm/lib/CodeGen/AtomicExpandPass.cpp: external/llvm-project/llvm/lib/CodeGen/AtomicExpandPass.cpp: In function 'bool {anonymous}::AtomicExpand::expandAtomicCmpXchg(llvm::AtomicCmpXchgInst*)': external/llvm-project/llvm/lib/CodeGen/AtomicExpandPass.cpp:1389:31: warning: 'SecondLoad' may be used uninitialized in this function [-Wmaybe-uninitialized] 1389 LoadedNoStore->addIncoming(SecondLoad, ReleasedLoadBB); ~~~~~~^~~~~~~~ INFO: From Compiling llvm/lib/CodeGen/MachineFunctionPass.cpp: external/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp: In member function 'virtual bool llvm::MachineFunctionPass::runOnFunction(llvm::Function&)': external/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:101:25: warning: 'CountBefore' may be used uninitialized in this function [-Wmaybe-uninitialized] 101 static_cast(CountBefore); ^~~~~~~~~ INFO: From Compiling llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp: external/llvm-project/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp: In static member function 'static void std::_Function_handler<void(_ArgTypes ...), _Functor>::_M_invoke(const std::_Any_data&, _ArgTypes&& ...) [with _Functor = llvm::CombinerHelper::matchAddEToAddO(llvm::MachineInstr&, llvm::BuildFnTy&)::<lambda(llvm::MachineIRBuilder&)>; _ArgTypes = {llvm::MachineIRBuilder&}]': external/llvm-project/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:4877:14: warning: 'NewOpcode' may be used uninitialized in this function [-Wmaybe-uninitialized] 4877 unsigned NewOpcode; ^~~~~ external/llvm-project/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp: In member function 'bool llvm::CombinerHelper::matchCombineInsertVecElts(llvm::MachineInstr&, llvm::SmallVectorImpl&)': external/llvm-project/llvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp:2688:53: warning: 'TmpInst' may be used uninitialized in this function [-Wmaybe-uninitialized] 2688 for (unsigned I = 1; I < TmpInst->getNumOperands(); ++I) { ~~~~~~~^~ INFO: From Compiling llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp: external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp: In function 'llvm::SDValue getCopyFromParts(llvm::SelectionDAG&, const llvm::SDLoc&, const llvm::SDValue, unsigned int, llvm::MVT, llvm::EVT, const llvm::Value, std::optional, std::optional)': external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:364:70: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 364 PartVT, IntermediateVT, V, CallConv); ^ external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:373:70: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 373 PartVT, IntermediateVT, V, CallConv); ^ external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:196:48: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 196 PartVT, HalfVT, V); ^ external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:198:64: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 198 RoundParts / 2, PartVT, HalfVT, V); ^ external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:214:43: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 214 OddVT, V, CC); ^ external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:244:76: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 244 Val = getCopyFromParts(DAG, DL, Parts, NumParts, PartVT, IntVT, V, CC); ^ external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp: In member function 'void llvm::SelectionDAGBuilder::visitAlloca(const llvm::AllocaInst&)': external/llvm-project/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:4091:15: warning: 'Alignment' may be used uninitialized in this function [-Wmaybe-uninitialized] 4091 Alignment = std::nullopt; ~~^~~~~~ INFO: From Compiling llvm/lib/CodeGen/RegisterPressure.cpp: external/llvm-project/llvm/lib/CodeGen/RegisterPressure.cpp: In member function 'void llvm::PressureDiffs::init(unsigned int)': external/llvm-project/llvm/lib/CodeGen/RegisterPressure.cpp:650:51: warning: 'void memset(void, int, size_t)' clearing an object of non-trivial type 'class llvm::PressureDiff'; use assignment or value-initialization instead [-Wclass-memaccess] 650 memset(PDiffArray, 0, N * sizeof(PressureDiff)); ^ In file included from external/llvm-project/llvm/lib/CodeGen/RegisterPressure.cpp:14: external/llvm-project/llvm/include/llvm/CodeGen/RegisterPressure.h:140:7: note: 'class llvm::PressureDiff' declared here 140 class PressureDiff { ^~~~ INFO: From Compiling llvm/lib/CodeGen/ModuloSchedule.cpp: external/llvm-project/llvm/lib/CodeGen/ModuloSchedule.cpp: In member function 'void llvm::ModuloScheduleExpander::generatePhis(llvm::MachineBasicBlock, llvm::MachineBasicBlock, llvm::MachineBasicBlock, llvm::MachineBasicBlock, llvm::ModuloScheduleExpander::ValueMapTy, llvm::ModuloScheduleExpander::ValueMapTy, llvm::ModuloScheduleExpander::InstrMapTy&, unsigned int, unsigned int, bool)': external/llvm-project/llvm/lib/CodeGen/ModuloSchedule.cpp:703:32: warning: 'PhiOp2' may be used uninitialized in this function [-Wmaybe-uninitialized] 703 rewriteScheduledInstr(NewBB, InstrMap, CurStageNum, np, &*BBI, PhiOp2, ~~~~~^~~~~~~~~~~~~ 704 NewReg); ~~~ INFO: From Compiling llvm/lib/CodeGen/MIRParser/MIParser.cpp: external/llvm-project/llvm/lib/CodeGen/MIRParser/MIParser.cpp: In function 'bool llvm::parseMachineMetadata(llvm::PerFunctionMIParsingState&, llvm::StringRef, llvm::SMRange, llvm::SMDiagnostic&)': external/llvm-project/llvm/lib/CodeGen/MIRParser/MIParser.cpp:1328:15: warning: 'MD' may be used uninitialized in this function [-Wmaybe-uninitialized] 1328 Metadata *MD; ^~ INFO: From Compiling llvm/lib/Transforms/IPO/SampleProfile.cpp: external/llvm-project/llvm/lib/Transforms/IPO/SampleProfile.cpp: In member function 'void {anonymous}::SampleProfileLoader::generateMDProfMetadata(llvm::Function&)': external/llvm-project/llvm/lib/Transforms/IPO/SampleProfile.cpp:1767:16: warning: 'MaxDestInst' may be used uninitialized in this function [-Wmaybe-uninitialized] 1767 return OptimizationRemark(DEBUG_TYPE, "PopularDest", MaxDestInst) ^~~~~~~~~~~~~~ INFO: From Compiling llvm/lib/Transforms/Coroutines/CoroSplit.cpp: external/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp: In member function 'void {anonymous}::CoroCloner::create()': external/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp:607:33: warning: 'SuspendResult' may be used uninitialized in this function [-Wmaybe-uninitialized] 607 MappedCS->replaceAllUsesWith(SuspendResult); ~~~~~~^~~~~ external/llvm-project/llvm/lib/Transforms/Coroutines/CoroSplit.cpp:577:10: note: 'SuspendResult' was declared here 577 Value *SuspendResult; ^~~~~ INFO: From Compiling llvm/lib/Target/AArch64/AArch64MacroFusion.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64MacroFusion.cpp:15: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64FastISel.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64FastISel.cpp:19: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:14: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp: In function 'int getIntOperandFromRegisterString(llvm::StringRef)': external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:3784: warning: '((void)& Ops +16)' may be used uninitialized in this function [-Wmaybe-uninitialized] 3784 return (Ops[0] << 14) (Ops[1] << 11) (Ops[2] << 7)
external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:3784: warning: '((void)& Ops +20)' may be used uninitialized in this function [-Wmaybe-uninitialized] external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:3784: warning: '((void)& Ops +24)' may be used uninitialized in this function [-Wmaybe-uninitialized] external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:3785: warning: '((void)& Ops +28)' may be used uninitialized in this function [-Wmaybe-uninitialized] 3785 (Ops[3] << 3) (Ops[4]);
external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp:3785: warning: '((void)& Ops +32)' may be used uninitialized in this function [-Wmaybe-uninitialized] 3785 (Ops[3] << 3) (Ops[4]); INFO: From Compiling llvm/lib/Target/AArch64/AArch64InstrInfo.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64InstrInfo.cpp:15: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp:15: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64FrameLowering.cpp: In file included from external/llvm-project/llvm/include/llvm/MC/MCContext.h:18, from external/llvm-project/llvm/include/llvm/CodeGen/MachineModuleInfo.h:36, from external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:206: external/llvm-project/llvm/include/llvm/BinaryFormat/Dwarf.h: In member function 'uint8_t llvm::dwarf::FormParams::getRefAddrByteSize() const': external/llvm-project/llvm/include/llvm/BinaryFormat/Dwarf.h:745: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 745 return getDwarfOffsetByteSize();
external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp: In lambda function: external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:2864: warning: 'LdrOpc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2864 unsigned LdrOpc;
external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:2865: warning: 'Size' may be used uninitialized in this function [-Wmaybe-uninitialized] 2865 unsigned Size;
external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp: In member function 'virtual bool llvm::AArch64FrameLowering::spillCalleeSavedRegisters(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::iterator, llvm::ArrayRef, const llvm::TargetRegisterInfo*) const': external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:2825: warning: 'Size' may be used uninitialized in this function [-Wmaybe-uninitialized] 2825 MachineMemOperand::MOStore, Size, Alignment));
external/llvm-project/llvm/lib/Target/AArch64/AArch64FrameLowering.cpp:2749: warning: 'StrOpc' may be used uninitialized in this function [-Wmaybe-uninitialized] 2749 unsigned StrOpc;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64CondBrTuning.cpp:29: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64CompressJumpTables.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64CompressJumpTables.cpp:16: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64ISelLowering.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:19: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp: In function 'void createTblForTrunc(llvm::TruncInst*, bool)': external/llvm-project/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:14109: warning: 'TblID' may be used uninitialized in this function [-Wmaybe-uninitialized] 14109 auto *F = Intrinsic::getDeclaration(TI->getModule(), TblID, VecTy);
INFO: From Compiling llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp:32: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64MachineScheduler.cpp:11: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/AArch64SelectionDAGInfo.cpp:13: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64KCFI.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64KCFI.cpp:15: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp: external/llvm-project/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp: In constructor '{anonymous}::AArch64AsmParser::AArch64AsmParser(const llvm::MCSubtargetInfo&, llvm::MCAsmParser&, const llvm::MCInstrInfo&, const llvm::MCTargetOptions&)': external/llvm-project/llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp:307: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 307 Parser.addAliasForDirective(".hword", ".2byte");
INFO: From Compiling llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp:11: external/llvm-project/llvm/include/llvm/BinaryFormat/Dwarf.h: In member function 'uint8_t llvm::dwarf::FormParams::getRefAddrByteSize() const': external/llvm-project/llvm/include/llvm/BinaryFormat/Dwarf.h:745: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 745 return getDwarfOffsetByteSize();
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp:16: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp: In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64PreLegalizerCombiner.cpp:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerLowering.cpp:23: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp: In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64PostLegalizerCombiner.cpp:22: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64SLSHardening.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64SLSHardening.cpp:15: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h:20, from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp:9: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64RegisterInfo.cpp:22: external/llvm-project/llvm/include/llvm/BinaryFormat/Dwarf.h: In member function 'uint8_t llvm::dwarf::FormParams::getRefAddrByteSize() const': external/llvm-project/llvm/include/llvm/BinaryFormat/Dwarf.h:745: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 745 return getDwarfOffsetByteSize();
INFO: From Compiling llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64SpeculationHardening.cpp:94: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64StackTagging.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64StackTagging.cpp:12: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64PostSelectOptimize.cpp: In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64PostSelectOptimize.cpp:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64Subtarget.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.cpp:35: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64CommonTableGen/AArch64GenSubtargetInfo.inc: In member function 'void llvm::AArch64Subtarget::ParseSubtargetFeatures(llvm::StringRef, llvm::StringRef, llvm::StringRef)': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64CommonTableGen/AArch64GenSubtargetInfo.inc:35748: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 35748 if (Bits[AArch64::FeatureAM]) HasAM = true;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64A53Fix835769.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64A53Fix835769.cpp:18: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64CallingConvention.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64CallingConvention.cpp:207: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64CommonTableGen/AArch64GenCallingConv.inc: In function 'bool llvm::CC_AArch64_Win64_VarArg(unsigned int, llvm::MVT, llvm::MVT, llvm::CCValAssign::LocInfo, llvm::ISD::ArgFlagsTy, llvm::CCState&)': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64CommonTableGen/AArch64GenCallingConv.inc:1152: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 1152 return true; // CC didn't match.
INFO: From Compiling llvm/lib/Target/AArch64/AArch64BranchTargets.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64BranchTargets.cpp:20: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp:18: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp:22: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp:18: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64CallLowering.cpp:19: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64TargetMachine.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/AArch64TargetMachine.cpp:12: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp: In file included from bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64TargetMachine.h:17, from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64O0PreLegalizerCombiner.cpp:15: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:19: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/AArch64UtilsAndDesc/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp: In member function 'virtual bool {anonymous}::AArch64InstructionSelector::select(llvm::MachineInstr&)': external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:3629: warning: 'Mopcode' may be used uninitialized in this function [-Wmaybe-uninitialized] 3629 {DstPtrCopy, SrcValCopy, SizeCopy});
external/llvm-project/llvm/lib/Target/AArch64/GISel/AArch64InstructionSelector.cpp:3580: note: 'Mopcode' was declared here 3580 unsigned Mopcode;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64LowerHomogeneousPrologEpilog.cpp:14: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64FalkorHWPFFix.cpp:17: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp: In file included from external/llvm-project/llvm/lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp:19: external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h: In member function 'unsigned int llvm::AArch64Subtarget::getMinVectorRegisterBitWidth() const': external/llvm-project/llvm/lib/Target/AArch64/AArch64Subtarget.h:208: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 208 return MinVectorRegisterBitWidth;
INFO: From Compiling llvm/lib/Analysis/LoopPass.cpp: external/llvm-project/llvm/lib/Analysis/LoopPass.cpp: In member function 'virtual bool llvm::LPPassManager::runOnFunction(llvm::Function&)': external/llvm-project/llvm/lib/Analysis/LoopPass.cpp:164:12: warning: 'InstrCount' may be used uninitialized in this function [-Wmaybe-uninitialized] 164 unsigned InstrCount, FunctionSize = 0; ^~~~~~ INFO: From Compiling llvm/lib/Analysis/ScalarEvolution.cpp: external/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp: In member function 'std::optional<std::pair<const llvm::SCEV, llvm::SmallVector<const llvm::SCEVPredicate, 3> > > llvm::ScalarEvolution::createAddRecFromPHIWithCastsImpl(const llvm::SCEVUnknown*)': external/llvm-project/llvm/lib/Analysis/ScalarEvolution.cpp:5530:26: warning: 'Signed' may be used uninitialized in this function [-Wmaybe-uninitialized] 5530 CreateSignExtend ? getSignExtendExpr(TruncatedExpr, Expr->getType()) ~~~^~~~~~~~~~~~~ 5531 : getZeroExtendExpr(TruncatedExpr, Expr->getType()); ~~~~~~~~~~~ INFO: From Compiling llvm/lib/ProfileData/SampleProfReader.cpp: external/llvm-project/llvm/lib/ProfileData/SampleProfReader.cpp: In member function 'virtual std::error_code llvm::sampleprof::SampleProfileReaderText::readImpl()': external/llvm-project/llvm/lib/ProfileData/SampleProfReader.cpp:369:35: warning: 'Discriminator' may be used uninitialized in this function [-Wmaybe-uninitialized] 369 uint32_t Depth, LineOffset, Discriminator; ^~~~~ INFO: From Compiling llvm/lib/Object/ObjectFile.cpp: external/llvm-project/llvm/lib/Object/ObjectFile.cpp: In member function 'llvm::Expected llvm::object::ObjectFile::getSymbolValue(llvm::object::DataRefImpl) const': external/llvm-project/llvm/lib/Object/ObjectFile.cpp:64:13: warning: 'Flags' may be used uninitialized in this function [-Wmaybe-uninitialized] 64 if (Flags & SymbolRef::SF_Common) ~~^~~~~~ INFO: From Compiling llvm/lib/Object/MachOObjectFile.cpp: external/llvm-project/llvm/lib/Object/MachOObjectFile.cpp: In constructor 'llvm::object::BindRebaseSegInfo::BindRebaseSegInfo(const llvm::object::MachOObjectFile*)': external/llvm-project/llvm/lib/Object/MachOObjectFile.cpp:4348:12: warning: 'CurSegAddress' may be used uninitialized in this function [-Wmaybe-uninitialized] 4348 uint64_t CurSegAddress; ^~~~~ INFO: From Compiling llvm/lib/AsmParser/LLParser.cpp: external/llvm-project/llvm/lib/AsmParser/LLParser.cpp: In function 'bool llvm::LLParser::parseMDField(llvm::StringRef, FieldTy&) [with FieldTy = {anonymous}::DIFlagField]': external/llvm-project/llvm/lib/AsmParser/LLParser.cpp:4591:16: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 4591 uint32_t TempVal = static_cast(Val); ^~~ external/llvm-project/llvm/lib/AsmParser/LLParser.cpp:4611:21: note: 'Val' was declared here 4611 DINode::DIFlags Val; ^~~ external/llvm-project/llvm/lib/AsmParser/LLParser.cpp: In member function 'bool llvm::LLParser::parseDISubprogram(llvm::MDNode*&, bool)': external/llvm-project/llvm/lib/AsmParser/LLParser.cpp:4631:16: warning: 'Val' may be used uninitialized in this function [-Wmaybe-uninitialized] 4631 uint32_t TempVal = static_cast(Val); ^~~ external/llvm-project/llvm/lib/AsmParser/LLParser.cpp:4651:29: note: 'Val' was declared here 4651 DISubprogram::DISPFlags Val; ^~~ INFO: From Compiling llvm/lib/Target/X86/X86OptimizeLEAs.cpp: external/llvm-project/llvm/lib/Target/X86/X86OptimizeLEAs.cpp: In member function 'bool {anonymous}::X86OptimizeLEAPass::removeRedundantAddrCalc({anonymous}::X86OptimizeLEAPass::MemOpMap&)': external/llvm-project/llvm/lib/Target/X86/X86OptimizeLEAs.cpp:537:5: warning: 'Dist' may be used uninitialized in this function [-Wmaybe-uninitialized] 537 if (Dist < 0) { ^~ external/llvm-project/llvm/lib/Target/X86/X86OptimizeLEAs.cpp:377:62: warning: 'AddrDispShift' may be used uninitialized in this function [-Wmaybe-uninitialized] 377 if (BestLEA != nullptr && !isInt<8>(AddrDispShiftTemp) && ~~~~~~~~~~~^~ 378 isInt<8>(AddrDispShift)) ~~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86OptimizeLEAs.cpp:526:13: note: 'AddrDispShift' was declared here 526 int64_t AddrDispShift; ^~~~~ INFO: From Compiling llvm/lib/Target/X86/X86ISelDAGToDAG.cpp: In file included from external/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:203: bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/X86CommonTableGen/X86GenDAGISel.inc: In member function 'virtual bool {anonymous}::X86DAGToDAGISel::CheckNodePredicate(llvm::SDNode*, unsigned int) const': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/llvm/_virtual_includes/X86CommonTableGen/X86GenDAGISel.inc:333777: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 333777 return true;
external/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp: In member function 'virtual void {anonymous}::X86DAGToDAGISel::PostprocessISelDAG()': external/llvm-project/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1530: warning: 'NewOpc' may be used uninitialized in this function [-Wmaybe-uninitialized] 1530 MachineSDNode *Test = CurDAG->getMachineNode(NewOpc, SDLoc(N), ~~~~~~~~~~~~~~ 1531 MVT::i32, MVT::Other, Ops);
INFO: From Compiling llvm/lib/Target/X86/X86InstructionSelector.cpp: external/llvm-project/llvm/lib/Target/X86/X86InstructionSelector.cpp: In member function 'const llvm::TargetRegisterClass* {anonymous}::X86InstructionSelector::getRegClass(llvm::LLT, const llvm::RegisterBank&) const': external/llvm-project/llvm/lib/Target/X86/X86InstructionSelector.cpp:175: note: '-Wmisleading-indentation' is disabled from this point onwards, since column-tracking was disabled due to the size of the code/headers 175 if (Ty.getSizeInBits() == 16)

INFO: From Compiling llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp: external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp: In member function 'bool {anonymous}::X86LowerAMXIntrinsics::lowerTileLoadStore(llvm::Instruction) [with bool IsTileLoad = true]': external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:190:30: warning: 'Ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 190 | Value EltPtr = B.CreateGEP(EltTy, EltBasePtr, Offset); | ~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:18: note: 'Ptr' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:165:35: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 165 | BasicBlock RowBody = createLoop(Start, End, Row, B.getInt16(1), | ~~^~~~~~~~ 166 | IntrinName + ".scalarize.rows", B, RowLoop); | ~~~~~~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:10: note: 'M' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp: In member function 'bool {anonymous}::X86LowerAMXIntrinsics::visit()': external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:536:10: warning: 'Tile' may be used uninitialized in this function [-Wmaybe-uninitialized] 536 | Value ResVec = createTileLoadStoreLoops( | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:33: note: 'Tile' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:531:45: warning: 'Stride' may be used uninitialized in this function [-Wmaybe-uninitialized] 531 | Value StrideDWord = PreBuilder.CreateLShr(Stride, PreBuilder.getInt64(2)); | ~~~~~^~~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:24: note: 'Stride' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:536:10: warning: 'Ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 536 | Value ResVec = createTileLoadStoreLoops( | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:18: note: 'Ptr' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:530:40: warning: 'N' may be used uninitialized in this function [-Wmaybe-uninitialized] 530 | Value NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:14: note: 'N' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:536:10: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 536 | Value ResVec = createTileLoadStoreLoops( | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:517:10: note: 'M' was declared here 517 | Value M, N, Ptr, Stride, Tile; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'B' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:30: note: 'B' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'A' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:26: note: 'A' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'C' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:22: note: 'C' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:489:40: warning: 'K' may be used uninitialized in this function [-Wmaybe-uninitialized] 489 | Value KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:18: note: 'K' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:488:40: warning: 'N' may be used uninitialized in this function [-Wmaybe-uninitialized] 488 | Value NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:14: note: 'N' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:10: note: 'M' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'B' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:30: note: 'B' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'A' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:26: note: 'A' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'C' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:22: note: 'C' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:489:40: warning: 'K' may be used uninitialized in this function [-Wmaybe-uninitialized] 489 | Value KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:18: note: 'K' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:488:40: warning: 'N' may be used uninitialized in this function [-Wmaybe-uninitialized] 488 | Value NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:14: note: 'N' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:10: note: 'M' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'B' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:30: note: 'B' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'A' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:26: note: 'A' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'C' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:22: note: 'C' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:489:40: warning: 'K' may be used uninitialized in this function [-Wmaybe-uninitialized] 489 | Value KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:18: note: 'K' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:488:40: warning: 'N' may be used uninitialized in this function [-Wmaybe-uninitialized] 488 | Value NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:14: note: 'N' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:10: note: 'M' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'B' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:30: note: 'B' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'A' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:26: note: 'A' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'C' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:22: note: 'C' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:489:40: warning: 'K' may be used uninitialized in this function [-Wmaybe-uninitialized] 489 | Value KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:18: note: 'K' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:488:40: warning: 'N' may be used uninitialized in this function [-Wmaybe-uninitialized] 488 | Value NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:14: note: 'N' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:10: note: 'M' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'B' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:30: note: 'B' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'A' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:26: note: 'A' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'C' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:22: note: 'C' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:489:40: warning: 'K' may be used uninitialized in this function [-Wmaybe-uninitialized] 489 | Value KDWord = PreBuilder.CreateLShr(K, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:18: note: 'K' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:488:40: warning: 'N' may be used uninitialized in this function [-Wmaybe-uninitialized] 488 | Value NDWord = PreBuilder.CreateLShr(N, PreBuilder.getInt16(2)); | ~~~~~^~~~~~~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:14: note: 'N' was declared here 479 | Value M, N, K, C, A, B; | ^ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:494:10: warning: 'M' may be used uninitialized in this function [-Wmaybe-uninitialized] 494 | Value ResVec = createTileDPLoops(Start, End, Builder, M, NDWord, | ^~ external/llvm-project/llvm/lib/Target/X86/X86LowerAMXIntrinsics.cpp:479:10: note: 'M' was declared here 479 | Value M, N, K, C, A, B; | ^ INFO: From Compiling llvm/lib/Target/X86/X86ISelLowering.cpp: external/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp: In function 'llvm::SDValue LowerBuildVectorv4x32(llvm::SDValue, llvm::SelectionDAG&, const llvm::X86Subtarget&)': external/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:9187:27: warning: 'FirstNonZeroIdx' may be used uninitialized in this function [-Wmaybe-uninitialized] 9187 | if (Elt == FirstNonZero && EltIdx == FirstNonZeroIdx) | ~~~~^~~~~~~~ INFO: From Compiling clang/lib/Format/Format.cpp: external/llvm-project/clang/lib/Format/Format.cpp: In function 'void clang::format::sortCppIncludes(const clang::format::FormatStyle&, const llvm::SmallVectorImpl<clang::format::{anonymous}::IncludeDirective>&, llvm::ArrayRef, llvm::StringRef, llvm::StringRef, clang::tooling::Replacements&, unsigned int)': external/llvm-project/clang/lib/Format/Format.cpp:2934:53: warning: 'CursorToEOLOffset' may be used uninitialized in this function [-Wmaybe-uninitialized] 2934 | Cursor = IncludesBeginOffset + result.size() - CursorToEOLOffset; | ~~~~~~~~^~~~~~~ external/llvm-project/clang/lib/Format/Format.cpp:2933:16: warning: 'CursorIndex' may be used uninitialized in this function [-Wmaybe-uninitialized] 2933 | if (Cursor && CursorIndex == Index) | ~^~~~~ INFO: From Compiling clang/lib/AST/Interp/Interp.cpp: In file included from external/llvm-project/clang/lib/AST/Interp/Interp.cpp:9: external/llvm-project/clang/lib/AST/Interp/Interp.h: In instantiation of 'bool clang::interp::CastFloatingIntegral(clang::interp::InterpState&, clang::interp::CodePtr) [with clang::interp::PrimType Name = clang::interp::PT_Bool; T = clang::interp::Boolean]': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/clang/lib/AST/Interp/Opcodes.inc:3421:45: required from here external/llvm-project/clang/lib/AST/Interp/Interp.h:1327:51: warning: parameter 'OpPC' set but not used [-Wunused-but-set-parameter] 1327 | bool CastFloatingIntegral(InterpState &S, CodePtr OpPC) { | ~~^~ INFO: From Compiling clang/lib/AST/ASTContext.cpp: external/llvm-project/clang/lib/AST/ASTContext.cpp: In function 'clang::GVALinkage basicGVALinkageForFunction(const clang::ASTContext&, const clang::FunctionDecl)': external/llvm-project/clang/lib/AST/ASTContext.cpp:11667:12: warning: 'External' may be used uninitialized in this function [-Wmaybe-uninitialized] 11667 | return External; | ^~~~ external/llvm-project/clang/lib/AST/ASTContext.cpp: In member function 'clang::QualType clang::ASTContext::removeAddrSpaceQualType(clang::QualType) const': external/llvm-project/clang/lib/AST/ASTContext.cpp:3207:12: warning: 'TypeNode' may be used uninitialized in this function [-Wmaybe-uninitialized] 3207 | return QualType(TypeNode, Quals.getFastQualifiers()); | ^~~~~~~~~~~~~ external/llvm-project/clang/lib/AST/ASTContext.cpp: In member function 'clang::GVALinkage clang::ASTContext::GetGVALinkageForVariable(const clang::VarDecl) const': external/llvm-project/clang/lib/AST/ASTContext.cpp:11830:51: warning: 'StrongLinkage' may be used uninitialized in this function [-Wmaybe-uninitialized] 11830 | return adjustGVALinkageForExternalDefinitionKind(this, VD, | ~~~~~~~~~^~~ 11831 | adjustGVALinkageForAttributes(this, VD, | ~~~~~~~~ 11832 | basicGVALinkageForVariable(this, VD))); | ~~~~~~~~~~~ INFO: From Compiling clang/lib/AST/ASTImporter.cpp: external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitObjCPropertyImplDecl(clang::ObjCPropertyImplDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:5530:21: warning: 'Property' may be used uninitialized in this function [-Wmaybe-uninitialized] 5530 | ObjCPropertyDecl Property; | ^~~~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitObjCCategoryImplDecl(clang::ObjCCategoryImplDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:5355:32: warning: 'Category' may be used uninitialized in this function [-Wmaybe-uninitialized] 5355 | Category->setImplementation(ToImpl); | ~~~~~^~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitObjCImplementationDecl(clang::ObjCImplementationDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:5415:54: warning: 'Super' may be used uninitialized in this function [-Wmaybe-uninitialized] 5415 | !declaresSameEntity(Super->getCanonicalDecl(), | ^ external/llvm-project/clang/lib/AST/ASTImporter.cpp:5368:22: warning: 'Iface' may be used uninitialized in this function [-Wmaybe-uninitialized] 5368 | ObjCInterfaceDecl Iface; | ^~~~~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitObjCCategoryDecl(clang::ObjCCategoryDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:4621:43: warning: 'ToInterface' may be used uninitialized in this function [-Wmaybe-uninitialized] 4621 | = ToInterface->FindCategoryDeclaration(Name.getAsIdentifierInfo()); | ~~~~~~~~^~~~~~~~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitClassTemplateDecl(clang::ClassTemplateDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:5845:37: warning: 'ToTemplated' may be used uninitialized in this function [-Wmaybe-uninitialized] 5845 | ToTemplated->setPreviousDecl(PrevTemplated); | ~~~~~~^~~~~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitFunctionTemplateDecl(clang::FunctionTemplateDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:6404:37: warning: 'TemplatedFD' may be used uninitialized in this function [-Wmaybe-uninitialized] 6404 | TemplatedFD->setPreviousDecl(PrevTemplated); | ~~~~~~^~~~~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitVarTemplateDecl(clang::VarTemplateDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:6147:7: warning: 'ToTemplated' may be used uninitialized in this function [-Wmaybe-uninitialized] 6147 | if (ToTemplated != PrevTemplated) | ^~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitClassTemplateSpecializationDecl(clang::ClassTemplateSpecializationDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:5885:56: warning: 'ClassTemplate' may be used uninitialized in this function [-Wmaybe-uninitialized] 5885 | PrevDecl = ClassTemplate->findPartialSpecialization(TemplateArgs, | ~~~~~~~~^~~~~~ 5886 | ToTPListOrErr, | ~~~ 5887 | InsertPos); | ~~ external/llvm-project/clang/lib/AST/ASTImporter.cpp: In member function 'clang::ExpectedDecl clang::ASTNodeImporter::VisitRecordDecl(clang::RecordDecl)': external/llvm-project/clang/lib/AST/ASTImporter.cpp:2985:69: warning: 'ToDescribed' may be used uninitialized in this function [-Wmaybe-uninitialized] 2985 | InjSpec = ToDescribed->getInjectedClassNameSpecialization(); | ^ INFO: From Compiling clang/lib/AST/Interp/EvalEmitter.cpp: In file included from external/llvm-project/clang/lib/AST/Interp/EvalEmitter.cpp:11: external/llvm-project/clang/lib/AST/Interp/Interp.h: In instantiation of 'bool clang::interp::CastFloatingIntegral(clang::interp::InterpState&, clang::interp::CodePtr) [with clang::interp::PrimType Name = clang::interp::PT_Bool; T = clang::interp::Boolean]': bazel-out/k8-opt-exec-2B5CBBC6/bin/external/llvm-project/clang/lib/AST/Interp/Opcodes.inc:3583:47: required from here external/llvm-project/clang/lib/AST/Interp/Interp.h:1327:51: warning: parameter 'OpPC' set but not used [-Wunused-but-set-parameter] 1327 | bool CastFloatingIntegral(InterpState &S, CodePtr OpPC) { | ~~^~ INFO: From Compiling clang/lib/AST/ExprConstant.cpp: external/llvm-project/clang/lib/AST/ExprConstant.cpp: In function '{anonymous}::RecordExprEvaluator::VisitBinCmp(const clang::BinaryOperator)::<lambda({anonymous}::CmpResult, const clang::BinaryOperator)>': external/llvm-project/clang/lib/AST/ExprConstant.cpp:13195:30: warning: 'CCR' may be used uninitialized in this function [-Wmaybe-uninitialized] 13195 | ComparisonCategoryResult CCR; | ^~~ external/llvm-project/clang/lib/AST/ExprConstant.cpp: In member function 'bool {anonymous}::PointerExprEvaluator::VisitBuiltinCallExpr(const clang::CallExpr, unsigned int)': external/llvm-project/clang/lib/AST/ExprConstant.cpp:9336:7: warning: 'DesiredVal' may be used uninitialized in this function [-Wmaybe-uninitialized] 9336 | if (Char.getInt().getZExtValue() == DesiredVal) | ^~ external/llvm-project/clang/lib/AST/ExprConstant.cpp: In member function 'bool {anonymous}::IntExprEvaluator::VisitBuiltinCallExpr(const clang::CallExpr, unsigned int)': external/llvm-project/clang/lib/AST/ExprConstant.cpp:12106:14: warning: 'Arg' may be used uninitialized in this function [-Wmaybe-uninitialized] 12106 | unsigned Arg; | ^~~ INFO: From Compiling clang/lib/Driver/ToolChains/Clang.cpp: external/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp: In member function 'void clang::driver::tools::Clang::AddLanaiTargetArgs(const llvm::opt::ArgList&, llvm::opt::ArgStringList&) const': external/llvm-project/clang/lib/Driver/ToolChains/Clang.cpp:2335:7: warning: 'Mregparm' may be used uninitialized in this function [-Wmaybe-uninitialized] 2335 | if (Mregparm != 4) { | ^~ INFO: From Compiling clang/lib/Driver/Driver.cpp: external/llvm-project/clang/lib/Driver/Driver.cpp: In member function 'clang::driver::InputInfoList clang::driver::Driver::BuildJobsForActionNoCache(clang::driver::Compilation&, const clang::driver::Action, const clang::driver::ToolChain, llvm::StringRef, bool, bool, const char, std::map<std::pair<const clang::driver::Action, std::__cxx11::basic_string >, llvm::SmallVector<clang::driver::InputInfo, 4> >&, clang::driver::Action::OffloadKind) const': external/llvm-project/clang/lib/Driver/Driver.cpp:5373:53: warning: '((void)& InputInfos +48)' may be used uninitialized in this function [-Wmaybe-uninitialized] 5373 | const char BaseInput = InputInfos[0].getBaseInput(); | ~~~~~~^~ INFO: From Compiling clang/lib/Driver/ToolChains/Cuda.cpp: external/llvm-project/clang/lib/Driver/ToolChains/Cuda.cpp: In constructor 'clang::driver::CudaInstallationDetector::CudaInstallationDetector(const clang::driver::Driver&, const llvm::Triple&, const llvm::opt::ArgList&)': external/llvm-project/clang/lib/Driver/ToolChains/Cuda.cpp:75:3: warning: 'RawVersion' may be used uninitialized in this function [-Wmaybe-uninitialized] 75 | if (raw_version < 11090) | ^~ external/llvm-project/clang/lib/Driver/ToolChains/Cuda.cpp:98:16: note: 'RawVersion' was declared here 98 | uint32_t RawVersion; | ^~~~~~ INFO: From Compiling clang/lib/Driver/ToolChains/Darwin.cpp: external/llvm-project/clang/lib/Driver/ToolChains/Darwin.cpp: In member function 'bool clang::driver::toolchains::Darwin::isAlignedAllocationUnavailable() const': external/llvm-project/clang/lib/Driver/ToolChains/Darwin.cpp:2790:24: warning: 'OS' may be used uninitialized in this function [-Wmaybe-uninitialized] 2790 | llvm::Triple::OSType OS; | ^~ INFO: From Compiling clang/lib/Parse/ParseOpenMP.cpp: external/llvm-project/clang/lib/Parse/ParseOpenMP.cpp: In member function 'void clang::Parser::ParseOpenMPAssumesDirective(clang::OpenMPDirectiveKind, clang::SourceLocation)': external/llvm-project/clang/lib/Parse/ParseOpenMP.cpp:1728:14: warning: 'Idx' may be used uninitialized in this function [-Wmaybe-uninitialized] 1728 | if (ACMI.HasDirectiveList || ACMI.HasExpression) { | ~^~~~ INFO: From Compiling clang/lib/Parse/ParsePragma.cpp: external/llvm-project/clang/lib/Parse/ParsePragma.cpp: In member function 'void clang::Parser::HandlePragmaFPContract()': external/llvm-project/clang/lib/Parse/ParsePragma.cpp:796:32: warning: 'FPC' may be used uninitialized in this function [-Wmaybe-uninitialized] 796 | Actions.ActOnPragmaFPContract(PragmaLoc, FPC); | ~~~~~~~^~~~~~ external/llvm-project/clang/lib/Parse/ParsePragma.cpp: In member function 'void clang::Parser::HandlePragmaFEnvAccess()': external/llvm-project/clang/lib/Parse/ParsePragma.cpp:836:32: warning: 'IsEnabled' may be used uninitialized in this function [-Wmaybe-uninitialized] 836 | Actions.ActOnPragmaFEnvAccess(PragmaLoc, IsEnabled); | ~~~~~~~^~~~~~~~ INFO: From Compiling clang/lib/Sema/SemaModule.cpp: external/llvm-project/clang/lib/Sema/SemaModule.cpp: In member function 'clang::Sema::DeclGroupPtrTy clang::Sema::ActOnModuleDecl(clang::SourceLocation, clang::SourceLocation, clang::Sema::ModuleDeclKind, clang::ModuleIdPath, clang::ModuleIdPath, clang::Sema::ModuleImportState&)': external/llvm-project/clang/lib/Sema/SemaModule.cpp:394:27: warning: 'Mod' may be used uninitialized in this function [-Wmaybe-uninitialized] 394 | ImportDecl::Create(Context, CurContext, ModuleLoc, Mod, Path[0].second); | ~~~~^~~~~~~~~~~ INFO: From Compiling clang/lib/Sema/SemaChecking.cpp: external/llvm-project/clang/lib/Sema/SemaChecking.cpp: In member function 'bool clang::Sema::SemaBuiltinARMSpecialReg(unsigned int, clang::CallExpr, int, unsigned int, bool)': external/llvm-project/clang/lib/Sema/SemaChecking.cpp:8441:37: warning: 'IntField' may be used uninitialized in this function [-Wmaybe-uninitialized] 8441 | ValidString &= (IntField >= 0 && IntField <= Ranges[i]); | ~~~^~~~~~~~~ external/llvm-project/clang/lib/Sema/SemaChecking.cpp: In member function 'clang::ExprResult clang::Sema::CheckBuiltinFunctionCall(clang::FunctionDecl, unsigned int, clang::CallExpr)': external/llvm-project/clang/lib/Sema/SemaChecking.cpp:1920:36: warning: '' may be used uninitialized in this function [-Wmaybe-uninitialized] 1920 | return std::optional{}; | ^ INFO: From Compiling clang/lib/Sema/SemaOpenMP.cpp: external/llvm-project/clang/lib/Sema/SemaOpenMP.cpp: In function 'bool actOnOMPReductionKindClause(clang::Sema&, {anonymous}::DSAStackTy, clang::OpenMPClauseKind, llvm::ArrayRef<clang::Expr>, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::CXXScopeSpec&, const clang::DeclarationNameInfo&, llvm::ArrayRef<clang::Expr>, {anonymous}::ReductionData&)': external/llvm-project/clang/lib/Sema/SemaOpenMP.cpp:19718:24: warning: 'ParentBOK' may be used uninitialized in this function [-Wmaybe-uninitialized] 19718 | (IsParentBOK && BOK != ParentBOK) || IsParentReductionOp) { | ~~~^~~~~~ INFO: From Compiling clang/lib/Sema/SemaType.cpp: external/llvm-project/clang/lib/Sema/SemaType.cpp: In member function 'bool clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser)': external/llvm-project/clang/lib/Sema/SemaType.cpp:8922:24: warning: 'IM' may be used uninitialized in this function [-Wmaybe-uninitialized] 8922 | MSInheritanceModel IM; | ^~ INFO: From Compiling clang/lib/Frontend/FrontendAction.cpp: external/llvm-project/clang/lib/Frontend/FrontendAction.cpp: In function 'clang::SourceLocation ReadOriginalFileName(clang::CompilerInstance&, std::string&, bool)': external/llvm-project/clang/lib/Frontend/FrontendAction.cpp:293:38: warning: 'LineNo' may be used uninitialized in this function [-Wmaybe-uninitialized] 293 | CI.getSourceManager().AddLineNote( | ~~~~~~~~~^ 294 | LineNoLoc, LineNo, SourceMgr.getLineTableFilenameID(InputFile), false, | ~~~~~~~~~~~~~~ 295 | false, SrcMgr::C_User_ModuleMap); | ~~~~~~~~ INFO: From Compiling xls/contrib/xlscc/translator.cc: In file included from external/com_google_absl/absl/base/macros.h:36, from external/com_google_absl/absl/base/internal/raw_logging.h:28, from external/com_google_absl/absl/container/internal/btree.h:61, from external/com_google_absl/absl/container/btree_map.h:56, from external/com_google_xls/xls/contrib/xlscc/translator.h:25, from external/com_google_xls/xls/contrib/xlscc/translator.cc:15: external/com_google_xls/xls/common/logging/check_ops.h: In instantiation of 'std::string xls::logging_internal::Check_EQImpl(const T1&, const T2&, const char) [with T1 = char [29]; T2 = std::nullptr_t; std::string = std::cxx11::basic_string]': external/com_google_xls/xls/contrib/xlscc/translator.cc:3204:9: required from here external/com_google_xls/xls/common/logging/check_ops.h:200:46: warning: the compiler can assume that the address of 'v1' will never be NULL [-Waddress] 200 | XLS_LOGGING_INTERNAL_CHECK_OP_IMPL(Check_EQ, ==) external/com_google_absl/absl/base/optimization.h:178:58: note: in definition of macro 'ABSL_PREDICT_TRUE' 178 | #define ABSL_PREDICT_TRUE(x) (builtin_expect(false || (x), true)) | ^ external/com_google_xls/xls/common/logging/check_ops.h:200:1: note: in expansion of macro 'XLS_LOGGING_INTERNAL_CHECK_OP_IMPL' 200 | XLS_LOGGING_INTERNAL_CHECK_OP_IMPL(Check_EQ, ==) | ^~~~~~~~~~ INFO: From Compiling clang/lib/Serialization/ASTReader.cpp: external/llvm-project/clang/lib/Serialization/ASTReader.cpp: In member function 'clang::serialization::reader::ASTDeclContextNameLookupTrait::internal_key_type clang::serialization::reader::ASTDeclContextNameLookupTrait::ReadKey(const unsigned char, unsigned int)': external/llvm-project/clang/lib/Serialization/ASTReader.cpp:1171:39: warning: 'Data' may be used uninitialized in this function [-Wmaybe-uninitialized] 1171 | return DeclarationNameKey(Kind, Data); | ^ INFO: From Compiling clang/lib/Sema/SemaLambda.cpp: external/llvm-project/clang/lib/Sema/SemaLambda.cpp: In member function 'void clang::Sema::ActOnStartOfLambdaDefinition(clang::LambdaIntroducer&, clang::Declarator&, const clang::DeclSpec&)': external/llvm-project/clang/lib/Sema/SemaLambda.cpp:1294:14: warning: 'Index' may be used uninitialized in this function [-Wmaybe-uninitialized] 1294 | unsigned Index; | ^~~~~ external/llvm-project/clang/lib/Sema/SemaLambda.cpp: In member function 'void clang::Sema::ActOnLambdaExpressionAfterIntroducer(clang::LambdaIntroducer&, clang::Scope)': external/llvm-project/clang/lib/Sema/SemaLambda.cpp:1115:43: warning: 'InitStyle' may be used uninitialized in this function [-Wmaybe-uninitialized] 1115 | Var = createLambdaInitCaptureVarDecl(C->Loc, C->InitCaptureType.get(), | ~~~~~~^~~~~~~~~~ 1116 | C->EllipsisLoc, C->Id, InitStyle, | ~~~~~~~~~ 1117 | C->Init.get(), Method); | ~~~~~~ INFO: From Compiling clang/lib/Sema/SemaOverload.cpp: external/llvm-project/clang/lib/Sema/SemaOverload.cpp: In member function 'clang::FunctionDecl clang::Sema::resolveAddressOfSingleOverloadCandidate(clang::Expr, clang::DeclAccessPair&)': external/llvm-project/clang/lib/Sema/SemaOverload.cpp:12721:10: warning: 'DAP.clang::DeclAccessPair::Ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] 12721 | Pair = DAP; | ~^~~~~ [2,262 / 2,317] 4 actions running INFO: From Compiling clang/lib/Analysis/FlowSensitive/Transfer.cpp: external/llvm-project/clang/lib/Analysis/FlowSensitive/Transfer.cpp: In member function 'void clang::dataflow::{anonymous}::TransferVisitor::VisitMemberExpr(const clang::MemberExpr)': external/llvm-project/clang/lib/Analysis/FlowSensitive/Transfer.cpp:553:17: warning: unused variable 'V' [-Wunused-variable] 553 | if (auto V = Env.getValue(MemberLoc)) { | ^ INFO: From Compiling clang/lib/Sema/SemaExpr.cpp: external/llvm-project/clang/lib/Sema/SemaExpr.cpp: In function '{anonymous}::OdrUseContext isOdrUseContext(clang::Sema&)': external/llvm-project/clang/lib/Sema/SemaExpr.cpp:18250:10: warning: 'Result' may be used uninitialized in this function [-Wmaybe-uninitialized] 18250 | return Result; | ^~ INFO: From Action transpiler/examples/fibonacci/fibonacci_rs_fhe_lib.ir: Parsing file 'transpiler/examples/fibonacci/fibonacci.cc' with clang... Generating IR... ERROR: /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/external/abc/BUILD.bazel:7:5: Foreign Cc - Make: Building abc failed: (Exit 2): bash failed: error executing command (cd /root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption && \ exec env - \ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin \ /bin/bash -c bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc_foreign_cc/wrapper_build_script.sh)

Configuration: 625532f7154e1e5cbaf1a4b5258178981d880ae5b5931cdec360902c2ad0c853

Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging rules_foreign_cc: Build failed! rules_foreign_cc: Keeping temp build directory and dependencies directory for debug. rules_foreign_cc: Please note that the directories inside a sandbox are still cleaned unless you specify --sandbox_debug Bazel command line flag. rules_foreigncc: Printing build logs: ____ BEGIN BUILD LOGS _____

Bazel external C/C++ Rules. Building library abc

Environment:__ BUILD_SCRIPT=bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc_foreign_cc/build_script.sh EXT_BUILD_ROOT=/root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption BUILD_LOG=bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc_foreign_cc/Make.log PWD=/root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption BUILD_WRAPPER_SCRIPT=bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc_foreign_cc/wrapper_build_script.sh TMPDIR=/tmp EXT_BUILD_DEPS=/root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc.ext_build_deps BUILD_TMPDIR=/root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc.build_tmpdir SHLVL=2 INSTALLDIR=/root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphic_encryption/bazel-out/k8-opt-exec-2B5CBBC6/bin/external/abc/abc PATH=/root/.cache/bazel/_bazel_root/a8c779df993a2004d73830004cc7dd84/sandbox/linux-sandbox/4506/execroot/com_google_fully_homomorphicencryption:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin =/usr/bin/env


Target //transpiler/examples/fibonacci:fibonacci_rs_main failed to build INFO: Elapsed time: 7804.087s, Critical Path: 354.75s INFO: 2322 processes: 117 internal, 2205 linux-sandbox. FAILED: Build did NOT complete successfully FAILED: Build did NOT complete successfully ubuntu@ip-172-31-6-221:~/fully-homomorphic-encryption$

j2kun commented 5 months ago

In the last comment, the abc package failed to build because it was missing readline

src/base/main/mainUtils.c:25:10: fatal error: readline/readline.h: No such file or directory 25 | #include <readline/readline.h>

https://tiswww.case.edu/php/chet/readline/rltop.html

I will take a look at fixing this later this week, but if you're interested in using the transpiler, I'd recommend you try https://github.com/google/heir instead. The transpiler was a research prototype, and HEIR is our long-term plan for a production-ready compiler. If you provide some info in that repository about what you're trying to do with FHE, that can help us prioritize feature work there and/or guide you to how to use HEIR to achieve your goal.

crockeea commented 3 months ago

I'm having the same problem, but without Docker.

$ bazel run //transpiler/examples/hangman:hangman_client
INFO: Repository com_grail_bazel_toolchain instantiated at:
  /mnt/c/Users/me/Desktop/code/google-fhe-transpiler/WORKSPACE:94:13: in <toplevel>
Repository rule http_archive defined at:
  /home/me/.cache/bazel/_bazel_me/069679ab93b285930585026b6970a05d/external/bazel_tools/tools/build_defs/repo/http.bzl:355:31: in <toplevel>
WARNING: Download from https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip failed: class com.google.devtools.build.lib.bazel.repository.downloader.UnrecoverableHttpException Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4
ERROR: An error occurred during the fetch of repository 'com_grail_bazel_toolchain':
   Traceback (most recent call last):
        File "/home/me/.cache/bazel/_bazel_me/069679ab93b285930585026b6970a05d/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip] to /home/me/.cache/bazel/_bazel_me/069679ab93b285930585026b6970a05d/external/com_grail_bazel_toolchain/temp7185931435083786301/0.8.zip: Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4
ERROR: /mnt/c/Users/me/Desktop/code/google-fhe-transpiler/WORKSPACE:94:13: fetching http_archive rule //external:com_grail_bazel_toolchain: Traceback (most recent call last):
        File "/home/me/.cache/bazel/_bazel_me/069679ab93b285930585026b6970a05d/external/bazel_tools/tools/build_defs/repo/http.bzl", line 125, column 45, in _http_archive_impl
                download_info = ctx.download_and_extract(
Error in download_and_extract: java.io.IOException: Error downloading [https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip] to /home/me/.cache/bazel/_bazel_me/069679ab93b285930585026b6970a05d/external/com_grail_bazel_toolchain/temp7185931435083786301/0.8.zip: Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4
ERROR: no such package '@com_grail_bazel_toolchain//toolchain': java.io.IOException: Error downloading [https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip] to /home/me/.cache/bazel/_bazel_me/069679ab93b285930585026b6970a05d/external/com_grail_bazel_toolchain/temp7185931435083786301/0.8.zip: Checksum was 2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8 but wanted 06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4
INFO: Elapsed time: 1.308s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)
crockeea commented 3 months ago

I was able to get the example to run with the following change

diff --git a/WORKSPACE b/WORKSPACE
index 40b254a..a96e5a3 100644
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -93,8 +93,8 @@ http_archive(
 # Toolchain to install LLVM, a requirements for XLS
 http_archive(
     name = "com_grail_bazel_toolchain",
-    sha256 = "06e1421091f153029c070f1ae364f8cb5a61dab20ede97a844a0f7bfcec632a4",
-    strip_prefix = "bazel-toolchain-0.8",
+    sha256 = "2dc9de41b115b43feed18a585061522e2ab828eac5a55213f6cb394dbb7e58f8",
+    strip_prefix = "toolchains_llvm-0.8",
     urls = [
         "https://github.com/grailbio/bazel-toolchain/archive/refs/tags/0.8.zip",
     ],