Nuno Lopes 0f68fbb9e5 canonicalize:
-%a + 42
into
42 - %a

previously we were emitting:
-(%a + 42)

This fixes the infinite loop in PR12338. The generated code is still not perfect, though.
Will work on that next

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158237 91177308-0d34-0410-b5e6-96231b3b80d8
2012-06-08 22:30:05 +00:00
..
2012-06-02 09:42:43 +00:00
2012-04-04 20:33:56 +00:00
2012-05-24 06:35:32 +00:00
2012-06-01 00:58:41 +00:00
2012-06-08 22:30:05 +00:00
2012-06-03 16:48:52 +00:00