commit | fa0b409ef81f1f70edfa72857c4e211ff50998d5 | [log] [tgz] |
---|---|---|
author | Eli Friedman <eli.friedman@gmail.com> | Wed Mar 02 01:49:12 2011 +0000 |
committer | Eli Friedman <eli.friedman@gmail.com> | Wed Mar 02 01:49:12 2011 +0000 |
tree | 23ee7de26fdfc8a32bbd7f2f83240624d69ec8b1 | |
parent | db04e2e26dd991ecddb6badf8c91ee46de80c31c [diff] |
PR9350: increment/decrement of char (and anything else narrower than int) can't overflow due to promotion rules; emit a wrapping add for those cases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@126816 91177308-0d34-0410-b5e6-96231b3b80d8