[all-commits] [llvm/llvm-project] 0dcfe7: [InstCombine] Tighten up known library function si...

Martin Sebor via All-commits all-commits at lists.llvm.org
Wed Aug 10 13:43:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dcfe7aa35cd4f6dbeb739fcd05f93aa39394f0e
      https://github.com/llvm/llvm-project/commit/0dcfe7aa35cd4f6dbeb739fcd05f93aa39394f0e
  Author: Martin Sebor <msebor at redhat.com>
  Date:   2022-08-10 (Wed, 10 Aug 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetLibraryInfo.def
    M llvm/lib/Analysis/TargetLibraryInfo.cpp
    M llvm/test/CodeGen/AMDGPU/complex-folding.ll
    M llvm/test/CodeGen/AMDGPU/fabs.ll
    M llvm/test/CodeGen/AMDGPU/floor.ll
    M llvm/test/CodeGen/AMDGPU/fneg-fabs.ll
    M llvm/test/CodeGen/AMDGPU/r600-infinite-loop-bug-while-reorganizing-vector.ll
    M llvm/test/CodeGen/AMDGPU/schedule-if-2.ll
    M llvm/test/Transforms/DeadStoreElimination/simple.ll
    A llvm/test/Transforms/InferFunctionAttrs/annotate-2.ll
    M llvm/test/Transforms/InferFunctionAttrs/annotate.ll
    M llvm/test/Transforms/InstCombine/bcopy.ll
    M llvm/test/Transforms/InstCombine/deref-alloc-fns.ll
    M llvm/test/Transforms/InstCombine/fprintf-1.ll
    M llvm/test/Transforms/InstCombine/fwrite-1.ll
    M llvm/test/Transforms/InstCombine/mem-deref-bytes-addrspaces.ll
    M llvm/test/Transforms/InstCombine/mem-deref-bytes.ll
    A llvm/test/Transforms/InstCombine/new-delete-itanium-32.ll
    M llvm/test/Transforms/InstCombine/new-delete-itanium.ll
    M llvm/test/Transforms/InstCombine/printf-2.ll
    A llvm/test/Transforms/InstCombine/simplify-libcalls-i16.ll
    M llvm/test/Transforms/InstCombine/simplify-libcalls.ll
    A llvm/test/Transforms/InstCombine/sprintf-3.ll
    M llvm/test/Transforms/InstCombine/sqrt-nofast.ll
    A llvm/test/Transforms/InstCombine/stdiocall-bad-sig.ll
    M llvm/test/Transforms/InstCombine/stpcpy-1.ll
    M llvm/test/Transforms/InstCombine/stpcpy-2.ll
    M llvm/test/Transforms/InstCombine/stpcpy_chk-2.ll
    M llvm/test/Transforms/InstCombine/str-int.ll
    A llvm/test/Transforms/InstCombine/strcall-bad-sig.ll
    M llvm/test/Transforms/InstCombine/strcat-3.ll
    M llvm/test/Transforms/InstCombine/strcpy-2.ll
    M llvm/test/Transforms/InstCombine/strcpy_chk-2.ll
    M llvm/test/Transforms/InstCombine/strncat-3.ll
    M llvm/test/Transforms/InstCombine/strncpy-2.ll
    M llvm/test/Transforms/InstCombine/strncpy_chk-2.ll
    M llvm/test/Transforms/InstCombine/strndup.ll
    M llvm/test/Transforms/InstCombine/strpbrk-2.ll
    M llvm/test/Transforms/InstCombine/strspn-1.ll
    M llvm/test/Transforms/InstCombine/strto-1.ll
    M llvm/test/Transforms/InstSimplify/call.ll
    M llvm/test/Transforms/LoopUnroll/WebAssembly/basic-unrolling.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/extractvalue-no-scalarization-required.ll
    M llvm/unittests/Analysis/TargetLibraryInfoTest.cpp

  Log Message:
  -----------
  [InstCombine] Tighten up known library function signature tests (PR #56463)

Replace a switch statement used to validate arguments to known library
functions with a more consistent table-driven approach and tighten it
up.




More information about the All-commits mailing list