diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-03-24 18:15:30 +0000 | 
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-03-24 18:15:30 +0000 | 
| commit | 4f9797d683156bc5b59f5be66d0c01a369935ba1 (patch) | |
| tree | 82b5a2e75f2964565e2b7da2dfe13328171026f1 /unittests/ADT/APIntTest.cpp | |
| parent | e330ae5b32fa5f798894cec207fd9e4fcc578382 (diff) | |
two changes:
1. Make instcombine always canonicalize trunc x to i1 into an icmp(x&1).  This 
   exposes the AND to other instcombine xforms and is more of what the code
   generator expects.
2. Rewrite the remaining trunc pattern match to use 'match', which 
   simplifies it a lot.
   
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67635 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/ADT/APIntTest.cpp')
0 files changed, 0 insertions, 0 deletions
