summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
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
commitd9eb41177a866bf96d815d7e40665e386461b7f6 (patch)
treecf076b92c64d4b38a5f56d0a6989c96b5220a592 /llvm/lib/ExecutionEngine
parent038f5d6ef07583ae0b91ca5e8aab54bd13b1325a (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud