Handle expanding arguments to ISD::TRUNCATE. This happens on PowerPC when
authorNate Begeman <natebegeman@mac.com>
Mon, 4 Apr 2005 00:57:08 +0000 (00:57 +0000)
committerNate Begeman <natebegeman@mac.com>
Mon, 4 Apr 2005 00:57:08 +0000 (00:57 +0000)
commit79e46acd35df36477029e9f534ab1a366a98df56
tree021136557f0fa990281e3483669caf54d5def2da
parent06098e0e9bd542f227aa3802768d1416e79e9f45
Handle expanding arguments to ISD::TRUNCATE.  This happens on PowerPC when
you have something like i16 = truncate i64.  This fixes Regression/C/casts

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