[all-commits] [llvm/llvm-project] d82602: [SimplifyLibCalls] reduce code duplication; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Mon Jul 26 08:09:06 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8260269c32c1c1140c8061ba469e28a75ccc159
      https://github.com/llvm/llvm-project/commit/d8260269c32c1c1140c8061ba469e28a75ccc159
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp

  Log Message:
  -----------
  [SimplifyLibCalls] reduce code duplication; NFC


  Commit: 87d604ffe494fcf66e469e2758c289f18b0e7ce9
      https://github.com/llvm/llvm-project/commit/87d604ffe494fcf66e469e2758c289f18b0e7ce9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-07-26 (Mon, 26 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
    M llvm/test/Transforms/InstCombine/stpcpy-1.ll

  Log Message:
  -----------
  [SimplifyLibCalls] avoid crash on pointer math

We could try harder to screen out libcalls by
function signature (and that would be a much larger
change than for sprintf alone), but that might make
the transition to type-less pointers more difficult.

https://llvm.org/PR51200


Compare: https://github.com/llvm/llvm-project/compare/0d3807b365e5...87d604ffe494


More information about the All-commits mailing list