- When legal, promote a load to zextload rather than ext load.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 27 Apr 2010 19:48:13 +0000 (19:48 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 27 Apr 2010 19:48:13 +0000 (19:48 +0000)
commitac7eae5b89d82603c4cf315458380c6a401a8fb2
treeb5bb82abbbf0e573a14c9b6edab61daf5e97e5c4
parenteac9c07fde0620a3b19cc923c0e80397530b26b0
- When legal, promote a load to zextload rather than ext load.
- Catch more further dag combine opportunities as result of operand promotion, e.g. (i32 anyext (i16 trunc (i32 x))) -> (i32 x)

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