commit | 9a20723df5904f2da9e4da14bf127366609b5cd8 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jun 26 21:48:21 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jun 26 21:48:21 2010 +0000 |
tree | 2579878aa92ae894f22bb9d03e9c19fc4da1e7a9 | |
parent | a4d71455f0d418e16cc0c5c5aa55a3bad3494aee [diff] |
Fix unary minus to trap on overflow with -ftrapv, refactoring binop code so we can use it from VisitUnaryMinus. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106957 91177308-0d34-0410-b5e6-96231b3b80d8