[PATCH] D114590: [CodeGen] Emit alignment "Max Skip" operand for align directives

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 5 11:07:48 PST 2022


vitalybuka added a comment.

Here is report with origins from https://lab.llvm.org/buildbot/#/builders/74/builds/8671/steps/18/logs/stdio

  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
  FAIL: LLVM :: Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll (65880 of 81093)
  ******************** TEST 'LLVM :: Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan_track_origins/bin/opt < /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll -mcpu=core-avx2 -loop-vectorize -S | /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan_track_origins/bin/llc -mcpu=core-avx2 | /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan_track_origins/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll
  --
  Exit Code: 2
  Command Output (stderr):
  --
  ==74358==WARNING: MemorySanitizer: use-of-uninitialized-value
      #0 0xbf34382 in (anonymous namespace)::MCAsmStreamer::emitValueToAlignment(unsigned int, long, unsigned int, unsigned int) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/MC/MCAsmStreamer.cpp:1425:11
      #1 0x96f5097 in emitAlignment /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:2494:18
      #2 0x96f5097 in llvm::AsmPrinter::emitBasicBlockStart(llvm::MachineBasicBlock const&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:3290:5
      #3 0x96c528d in llvm::AsmPrinter::emitFunctionBody() /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp:1275:5
      #4 0x745fbdb in llvm::X86AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/Target/X86/X86AsmPrinter.cpp:82:3
      #5 0xa22715a in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:72:13
      #6 0xb9c2518 in llvm::FPPassManager::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1437:27
      #7 0xb9ec856 in llvm::FPPassManager::runOnModule(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1483:16
      #8 0xb9c49c2 in runOnModule /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1552:27
      #9 0xb9c49c2 in llvm::legacy::PassManagerImpl::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:542:44
      #10 0xb9ed62b in llvm::legacy::PassManager::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1679:14
      #11 0x2d964b9 in compileModule(char**, llvm::LLVMContext&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/tools/llc/llc.cpp:719:8
      #12 0x2d8cbd8 in main /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/tools/llc/llc.cpp:417:22
      #13 0x7ff258bad09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) (BuildId: 18b9a9a8c523e5cfe5b5d946d605d09242f09798)
      #14 0x2cebea9 in _start (/b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan_track_origins/bin/llc+0x2cebea9)
    Uninitialized value was stored to memory at
      #0 0xa06bbc3 in alignBlocks /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/MachineBlockPlacement.cpp
      #1 0xa06bbc3 in (anonymous namespace)::MachineBlockPlacement::runOnMachineFunction(llvm::MachineFunction&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/MachineBlockPlacement.cpp:3434:3
      #2 0xa22715a in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:72:13
      #3 0xb9c2518 in llvm::FPPassManager::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1437:27
      #4 0xb9ec856 in llvm::FPPassManager::runOnModule(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1483:16
      #5 0xb9c49c2 in runOnModule /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1552:27
      #6 0xb9c49c2 in llvm::legacy::PassManagerImpl::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:542:44
      #7 0xb9ed62b in llvm::legacy::PassManager::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1679:14
      #8 0x2d964b9 in compileModule(char**, llvm::LLVMContext&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/tools/llc/llc.cpp:719:8
      #9 0x2d8cbd8 in main /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/tools/llc/llc.cpp:417:22
      #10 0x7ff258bad09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) (BuildId: 18b9a9a8c523e5cfe5b5d946d605d09242f09798)
    Uninitialized value was created by a heap allocation
      #0 0x2d7d613 in operator new(unsigned long) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/compiler-rt/lib/msan/msan_new_delete.cpp:45:35
      #1 0x7e2ba8d in make_unique<llvm::X86Subtarget, const llvm::Triple &, llvm::StringRef &, llvm::StringRef &, llvm::StringRef &, const llvm::X86TargetMachine &, llvm::MaybeAlign, unsigned int &, unsigned int &> /b/sanitizer-x86_64-linux-bootstrap-msan/build/libcxx_build_msan_track_origins/include/c++/v1/__memory/unique_ptr.h:725:28
      #2 0x7e2ba8d in llvm::X86TargetMachine::getSubtargetImpl(llvm::Function const&) const /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/Target/X86/X86TargetMachine.cpp:315:9
      #3 0x9a32a92 in (anonymous namespace)::AtomicExpand::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/CodeGen/AtomicExpandPass.cpp:175:11
      #4 0xb9c2518 in llvm::FPPassManager::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1437:27
      #5 0xb9ec856 in llvm::FPPassManager::runOnModule(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1483:16
      #6 0xb9c49c2 in runOnModule /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1552:27
      #7 0xb9c49c2 in llvm::legacy::PassManagerImpl::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:542:44
      #8 0xb9ed62b in llvm::legacy::PassManager::run(llvm::Module&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1679:14
      #9 0x2d964b9 in compileModule(char**, llvm::LLVMContext&) /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/tools/llc/llc.cpp:719:8
      #10 0x2d8cbd8 in main /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/tools/llc/llc.cpp:417:22
      #11 0x7ff258bad09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a) (BuildId: 18b9a9a8c523e5cfe5b5d946d605d09242f09798)
  SUMMARY: MemorySanitizer: use-of-uninitialized-value /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/lib/MC/MCAsmStreamer.cpp:1425:11 in (anonymous namespace)::MCAsmStreamer::emitValueToAlignment(unsigned int, long, unsigned int, unsigned int)
  Exiting
  FileCheck error: '<stdin>' is empty.
  FileCheck command line:  /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm_build_msan_track_origins/bin/FileCheck /b/sanitizer-x86_64-linux-bootstrap-msan/build/llvm-project/llvm/test/Transforms/LoopVectorize/X86/fp64_to_uint32-cost-model.ll


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114590/new/

https://reviews.llvm.org/D114590



More information about the llvm-commits mailing list