[all-commits] [llvm/llvm-project] 8cb04d: [X86] X86OptimizeLEAPass::replaceDebugValue - take...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sat May 15 08:28:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8cb04d891fba6ee81c385519510cb89e37acea0c
      https://github.com/llvm/llvm-project/commit/8cb04d891fba6ee81c385519510cb89e37acea0c
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-05-15 (Sat, 15 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86OptimizeLEAs.cpp

  Log Message:
  -----------
  [X86] X86OptimizeLEAPass::replaceDebugValue - take a copy of the DebugLoc not a reference as it may be deleted.

Fixes msan warning due to rG9ca2c50b3601




More information about the All-commits mailing list