]> granicus.if.org Git - clang/commit
Add additional testcases for nsw markings on ++ and --.
authorEli Friedman <efriedma@codeaurora.org>
Thu, 12 Jan 2017 19:51:44 +0000 (19:51 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Thu, 12 Jan 2017 19:51:44 +0000 (19:51 +0000)
commit6535a57ff4dc2bbecfb255093832af8e0b2aa0b7
tree10fc33a06f3609a1880c910e94e744f117e71e79
parent3840cfcb048c98504efd8e88789b6e5949db9158
Add additional testcases for nsw markings on ++ and --.

clang has generated correct IR for char/short decrement since r126816,
but we didn't have any test coverage for decrement.

Patch by Andrew Rogers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291805 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/integer-overflow.c