OSDN Git Service

SelectionDAG: Add sext_inreg optimizations
authorJan Vesely <jan.vesely@rutgers.edu>
Fri, 17 Oct 2014 14:45:25 +0000 (14:45 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Fri, 17 Oct 2014 14:45:25 +0000 (14:45 +0000)
commitcef793e8c72960f537515c02bf41c727ebbc2c32
treecade019b3130bd4adddb2bc075f75017d730e68a
parenteaf8f5efe91e813de9ab85a97e5622d19e87ae7f
SelectionDAG: Add sext_inreg optimizations

v2: use dyn_cast
    fixup comments
v3: use cast

Reviewed-by: Matt Arsenault <arsenm2@gmail.com>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220044 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/R600/sext-eliminate.ll [new file with mode: 0644]