[PATCH] D80602: [BranchFolding] Drop location when hoisting

Davide Italiano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 18:33:38 PDT 2020


davide added a comment.

Also, looks like this one exposed a bug in LiveDbgValues. I'll look at it while waiting for the review:

  ******************** TEST 'LLVM :: CodeGen/X86/dbg-changes-codegen-branch-folding.ll' FAILED ********************
  Script:
  --
  : 'RUN: at line 1';   /Users/davide/work/build/bin/llc -mtriple=x86_64-linux < /Users/davide/work/llvm-project/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll | /Users/davide/work/build/bin/FileCheck /Users/davide/work/llvm-project/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
  : 'RUN: at line 2';   /Users/davide/work/build/bin/opt -strip-debug < /Users/davide/work/llvm-project/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll | /Users/davide/work/build/bin/llc -mtriple=x86_64-linux | /Users/davide/work/build/bin/FileCheck /Users/davide/work/llvm-project/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll
  --
  Exit Code: 2
  
  Command Output (stderr):
  --
  PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace.
  Stack dump:
  0.	Program arguments: /Users/davide/work/build/bin/llc -mtriple=x86_64-linux 
  1.	Running pass 'Function Pass Manager' on module '<stdin>'.
  2.	Running pass 'Live DEBUG_VALUE analysis' on function '@_Z3barii'
  0  llc                      0x00000001031bc825 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 37
  1  llc                      0x00000001031bb6a8 llvm::sys::RunSignalHandlers() + 248
  2  llc                      0x00000001031bce26 SignalHandler(int) + 262
  3  libsystem_platform.dylib 0x00007fff7223355d _sigtramp + 29
  4  libsystem_platform.dylib 000000000000000000 _sigtramp + 18446603338601253568
  5  llc                      0x000000010285958d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 285
  6  llc                      0x0000000102b82658 llvm::FPPassManager::runOnFunction(llvm::Function&) + 1064
  7  llc                      0x0000000102b82933 llvm::FPPassManager::runOnModule(llvm::Module&) + 67
  8  llc                      0x0000000102b82dd9 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 937
  9  llc                      0x0000000101627b3f compileModule(char**, llvm::LLVMContext&) + 9647
  10 llc                      0x000000010162508c main + 1308
  11 libdyld.dylib            0x00007fff72026259 start + 1
  12 libdyld.dylib            0x0000000000000002 start + 18446603338603404714
  FileCheck error: '<stdin>' is empty.
  FileCheck command line:  /Users/davide/work/build/bin/FileCheck /Users/davide/work/llvm-project/llvm/test/CodeGen/X86/dbg-changes-codegen-branch-folding.ll


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

https://reviews.llvm.org/D80602





More information about the llvm-commits mailing list