aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-03-24 18:15:30 +0000
committerChris Lattner <sabre@nondot.org>2009-03-24 18:15:30 +0000
commit4f9797d683156bc5b59f5be66d0c01a369935ba1 (patch)
tree82b5a2e75f2964565e2b7da2dfe13328171026f1 /utils
parente330ae5b32fa5f798894cec207fd9e4fcc578382 (diff)
downloadexternal_llvm-4f9797d683156bc5b59f5be66d0c01a369935ba1.zip
external_llvm-4f9797d683156bc5b59f5be66d0c01a369935ba1.tar.gz
external_llvm-4f9797d683156bc5b59f5be66d0c01a369935ba1.tar.bz2
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 'utils')
0 files changed, 0 insertions, 0 deletions