[llvm-commits] [PATCH 0/5] Add and cleanup fortified library call simplification tests

Meador Inge meadori at codesourcery.com
Wed Sep 26 11:57:44 PDT 2012


Hi All,

This patch set adds some new fortified library call simplifier tests and cleans 
up some old ones.  This is a part of the work I am doing to rework the library
call simplifier [1].

OK to commit?

[1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-August/052283.html

Meador Inge (5):
  instcombine: Add more test cases for __memset_chk simplification
  instcombine: Add more test cases for __memcpy_chk simplification
  instcombine: Add more test cases for __memmove_chk simplification
  instcombine: Add more test cases for __strcpy_chk simplification
  instcombine: Add more test cases for __strncpy_chk simplification

 test/Transforms/InstCombine/memcpy_chk-1.ll  |   60 +++++++++++++++++
 test/Transforms/InstCombine/memcpy_chk-2.ll  |   24 +++++++
 test/Transforms/InstCombine/memmove_chk-1.ll |   60 +++++++++++++++++
 test/Transforms/InstCombine/memmove_chk-2.ll |   24 +++++++
 test/Transforms/InstCombine/memset_chk-1.ll  |   61 ++++++++++++++++++
 test/Transforms/InstCombine/memset_chk-2.ll  |   20 ++++++
 test/Transforms/InstCombine/memset_chk.ll    |   18 -----
 test/Transforms/InstCombine/strcpy_chk-1.ll  |   88 ++++++++++++++++++++++++++
 test/Transforms/InstCombine/strcpy_chk-2.ll  |   21 ++++++
 test/Transforms/InstCombine/strcpy_chk.ll    |   13 ----
 test/Transforms/InstCombine/strncpy_chk-1.ll |   66 +++++++++++++++++++
 test/Transforms/InstCombine/strncpy_chk-2.ll |   21 ++++++
 12 files changed, 445 insertions(+), 31 deletions(-)
 create mode 100644 test/Transforms/InstCombine/memcpy_chk-1.ll
 create mode 100644 test/Transforms/InstCombine/memcpy_chk-2.ll
 create mode 100644 test/Transforms/InstCombine/memmove_chk-1.ll
 create mode 100644 test/Transforms/InstCombine/memmove_chk-2.ll
 create mode 100644 test/Transforms/InstCombine/memset_chk-1.ll
 create mode 100644 test/Transforms/InstCombine/memset_chk-2.ll
 delete mode 100644 test/Transforms/InstCombine/memset_chk.ll
 create mode 100644 test/Transforms/InstCombine/strcpy_chk-1.ll
 create mode 100644 test/Transforms/InstCombine/strcpy_chk-2.ll
 delete mode 100644 test/Transforms/InstCombine/strcpy_chk.ll
 create mode 100644 test/Transforms/InstCombine/strncpy_chk-1.ll
 create mode 100644 test/Transforms/InstCombine/strncpy_chk-2.ll

-- 
1.7.7.5 (Apple Git-26)




More information about the llvm-commits mailing list