[PATCH] D113247: [VE] Make VE official

Kevin Athey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 1 15:57:44 PST 2021


kda added a comment.

This looks like it is breaking the buildbots.
https://lab.llvm.org/buildbot/#/builders/5/builds/15384

log extract:

  ==27278==ERROR: AddressSanitizer: use-after-poison on address 0x62100113d058 at pc 0x0000097c0934 bp 0x7fff65832680 sp 0x7fff65832678
  READ of size 8 at 0x62100113d058 thread T0
      #0 0x97c0933 in getOpcode /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/CodeGen/MachineInstr.h:489:39
      #1 0x97c0933 in (anonymous namespace)::ExpandPostRA::runOnMachineFunction(llvm::MachineFunction&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/CodeGen/ExpandPostRAPseudos.cpp:204:18
      #2 0x9acc148 in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:72:13
      #3 0xa9172cc in llvm::FPPassManager::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1439:27
      #4 0xa932af0 in llvm::FPPassManager::runOnModule(llvm::Module&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1485:16
      #5 0xa9194e8 in runOnModule /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1554:27
      #6 0xa9194e8 in llvm::legacy::PassManagerImpl::run(llvm::Module&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:542:44
      #7 0x4f2d66d in compileModule /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/tools/llc/llc.cpp:716:8
      #8 0x4f2d66d in main /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/tools/llc/llc.cpp:417:22
      #9 0x7f61f777b09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
      #10 0x4e6c4f9 in _start (/b/sanitizer-x86_64-linux-fast/build/llvm_build_asan/bin/llc+0x4e6c4f9)
  0x62100113d058 is located 1880 bytes inside of 4096-byte region [0x62100113c900,0x62100113d900)
  allocated by thread T0 here:
      #0 0x4f241dd in operator new(unsigned long) /b/s/w/ir/cache/builder/src/third_party/llvm/compiler-rt/lib/asan/asan_new_delete.cpp:95:3
      #1 0x53dc2e6 in Allocate /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/AllocatorBase.h:85:12
      #2 0x53dc2e6 in llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::StartNewSlab() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/Allocator.h:335:21
      #3 0x53dc002 in llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul, 128ul>::Allocate(unsigned long, llvm::Align) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/Allocator.h:190:5
      #4 0x9aa12f7 in Allocate /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/Allocator.h:204:12
      #5 0x9aa12f7 in operator new<llvm::MallocAllocator, 4096UL, 4096UL, 128UL> /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/Support/Allocator.h:437:20
      #6 0x9aa12f7 in llvm::MachineFunction::init() /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/CodeGen/MachineFunction.cpp:161:15
      #7 0x9b64651 in llvm::MachineModuleInfo::getOrCreateMachineFunction(llvm::Function&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/CodeGen/MachineModuleInfo.cpp:303:14
      #8 0x9acbe50 in llvm::MachineFunctionPass::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/CodeGen/MachineFunctionPass.cpp:44:29
      #9 0xa9172cc in llvm::FPPassManager::runOnFunction(llvm::Function&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1439:27
      #10 0xa932af0 in llvm::FPPassManager::runOnModule(llvm::Module&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1485:16
      #11 0xa9194e8 in runOnModule /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:1554:27
      #12 0xa9194e8 in llvm::legacy::PassManagerImpl::run(llvm::Module&) /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/lib/IR/LegacyPassManager.cpp:542:44
      #13 0x4f2d66d in compileModule /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/tools/llc/llc.cpp:716:8
      #14 0x4f2d66d in main /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/tools/llc/llc.cpp:417:22
      #15 0x7f61f777b09a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2409a)
  SUMMARY: AddressSanitizer: use-after-poison /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/include/llvm/CodeGen/MachineInstr.h:489:39 in getOpcode
  Shadow bytes around the buggy address:
    0x0c428021f9b0: 00 00 f7 f7 00 00 00 00 00 00 00 00 00 f7 00 00
    0x0c428021f9c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0c428021f9d0: 00 00 00 00 00 00 00 00 00 00 f7 00 00 00 00 00
    0x0c428021f9e0: 00 00 00 00 f7 00 00 00 00 00 00 00 00 00 00 00
    0x0c428021f9f0: 00 00 00 00 00 f7 00 00 00 00 00 00 00 00 00 f7
  =>0x0c428021fa00: 00 00 00 00 00 00 00 00 f7 f7 f7[f7]f7 f7 f7 f7
    0x0c428021fa10: f7 f7 f7 00 00 00 00 00 00 00 00 f7 00 00 00 00
    0x0c428021fa20: 00 00 00 00 00 f7 00 00 00 00 00 00 00 00 f7 00
    0x0c428021fa30: 00 00 00 00 00 00 00 00 f7 00 00 00 00 f7 00 00
    0x0c428021fa40: 00 00 00 00 00 00 f7 00 00 00 00 00 00 00 00 00
    0x0c428021fa50: 00 00 00 00 00 00 00 f7 00 00 00 00 00 00 00 00
  Shadow byte legend (one shadow byte represents 8 application bytes):
    Addressable:           00
    Partially addressable: 01 02 03 04 05 06 07 
    Heap left redzone:       fa
    Freed heap region:       fd
    Stack left redzone:      f1
    Stack mid redzone:       f2
    Stack right redzone:     f3
    Stack after return:      f5
    Stack use after scope:   f8
    Global redzone:          f9
    Global init order:       f6
    Poisoned by user:        f7
    Container overflow:      fc
    Array cookie:            ac
    Intra object redzone:    bb
    ASan internal:           fe
    Left alloca redzone:     ca
    Right alloca redzone:    cb
  ==27278==ABORTING
  /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/VE/VELIntrinsics/vfmk.ll:1691:16: error: CHECK-LABEL: expected string not found in input
  ; CHECK-LABEL: vfmkslenan_mvl:
                 ^
  <stdin>:1338:17: note: scanning from here
  vfmksgenan_mvml: 
                  ^
  Input file: <stdin>
  Check file: /b/sanitizer-x86_64-linux-fast/build/llvm-project/llvm/test/CodeGen/VE/VELIntrinsics/vfmk.ll
  -dump-input=help explains the following input dump.
  Input was:
  <<<<<<
              .
              .
              .
           1333:  .size vfmksgenan_mvl, .Lfunc_end110-vfmksgenan_mvl 
           1334:  # -- End function 
           1335:  .globl vfmksgenan_mvml # -- Begin function vfmksgenan_mvml 
           1336:  .p2align 4 
           1337:  .type vfmksgenan_mvml, at function 
           1338: vfmksgenan_mvml: 
  label:1691                     X error: no match found
  >>>>>>
  --
  ********************
  Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
  ********************
  Failed Tests (2):
    LLVM :: CodeGen/VE/VELIntrinsics/lvm.ll
    LLVM :: CodeGen/VE/VELIntrinsics/vfmk.ll


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113247



More information about the llvm-commits mailing list