Target independent DAG transform to use truncate for field extraction + sign extend...
authorChristopher Lamb <christopher.lamb@gmail.com>
Tue, 18 Mar 2008 16:46:39 +0000 (16:46 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Tue, 18 Mar 2008 16:46:39 +0000 (16:46 +0000)
commit981576c8182d9099030153772ac2c40ef79290fb
tree9898cfdfccb91643e0413258d9fc47f332e711e6
parent3c88d742d4e89e9b2ed7bd10822d18748b97d488
Target independent DAG transform to use truncate for field extraction + sign extend on targets where this is profitable. Passes nightly on x86-64.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48491 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/field-extract-use-trunc.ll [new file with mode: 0644]