commit | a6321b40c22025b09c1bbff9df7f4b0470835b0b | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Oct 11 22:55:00 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Oct 11 22:55:00 2008 +0000 |
tree | 23bd4ecb03c450667ab12192e6b753500d38e5e1 | |
parent | 1b8f4bb4a1a46e8a2295bdaf0454a5c302863703 [diff] |
Fix PR2697 by rewriting the '(X / pos) op neg' logic. This also changes a couple other cases for clarity, but shouldn't affect correctness. Patch by Eli Friedman! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57387 91177308-0d34-0410-b5e6-96231b3b80d8