Fix visitTRUNCATE for legal i1 values
authorHal Finkel <hfinkel@anl.gov>
Fri, 28 Feb 2014 00:26:45 +0000 (00:26 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 28 Feb 2014 00:26:45 +0000 (00:26 +0000)
commit1a13499abfe3575b0602bfb159824241c6beaf0a
tree3968050d7c45772438b203378b9d3e2fa1ddd3b3
parent64e9de348b6659af2f101743e4f83bd061a3edb8
Fix visitTRUNCATE for legal i1 values

This extract-and-trunc vector optimization cannot work for i1 values as
currently implemented, and so I'm disabling this for now for i1 values. In the
future, this can be fixed properly.

Soon I'll commit support for i1 CR bit tracking in the PowerPC backend, and
this will be covered by one of the existing regression tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202449 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp