[all-commits] [llvm/llvm-project] bf6921: [instcombine] Sunk instructions with invalid sourc...

Carlos Alberto Enciso via All-commits all-commits at lists.llvm.org
Sun Aug 20 22:25:48 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bf69217baecbab528e9ac708ddb4df448a997421
  Author: Carlos Alberto Enciso <carlos.alberto.enciso at gmail.com>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
    A llvm/test/Transforms/InstCombine/sink-instruction-introduces-unnecessary-poison-value.ll

  Log Message:
  [instcombine] Sunk instructions with invalid source location.

When the 'int Four = Two;' is sunk into the 'case 0:' block,
the debug value for 'Three' is set incorrectly to 'poison'.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D158171

More information about the All-commits mailing list