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 | d9eb41177a866bf96d815d7e40665e386461b7f6 (patch) | |
| tree | cf076b92c64d4b38a5f56d0a6989c96b5220a592 /llvm/lib/ExecutionEngine | |
| parent | 038f5d6ef07583ae0b91ca5e8aab54bd13b1325a (diff) | |
| download | bcm5719-llvm-d9eb41177a866bf96d815d7e40665e386461b7f6.tar.gz bcm5719-llvm-d9eb41177a866bf96d815d7e40665e386461b7f6.zip | |
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.
llvm-svn: 67635
Diffstat (limited to 'llvm/lib/ExecutionEngine')
0 files changed, 0 insertions, 0 deletions

