[all-commits] [llvm/llvm-project] efece0: [InstCombine] Remove manual debug loc transfer

Nikita Popov via All-commits all-commits at lists.llvm.org
Mon Feb 14 02:07:38 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: efece08ae27d8ace684c5119d6696b1a18b2150f
      https://github.com/llvm/llvm-project/commit/efece08ae27d8ace684c5119d6696b1a18b2150f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-02-14 (Mon, 14 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp

  Log Message:
  -----------
  [InstCombine] Remove manual debug loc transfer

While this might be marginally more precise, we generally don't
bother with this in InstCombine, and let the IRBuilder assign the
debug location. I don't see why this one fold, out of the thousands
done in InstCombine, should be treated specially.




More information about the All-commits mailing list