R600: Implement isZExtFree.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 27 Mar 2014 17:23:31 +0000 (17:23 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 27 Mar 2014 17:23:31 +0000 (17:23 +0000)
commit0c6d96cf160f2a6c63f59b5ab7e7a6bbe903ede3
treebcda7ed72865ba37d6445d5f04e4b2551bc2fa99
parent94687c0f43a409fb8113f8320b4858fb2939ef96
R600: Implement isZExtFree.

This allows 64-bit operations that are truncated to be reduced
to 32-bit ones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204946 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
lib/Target/R600/AMDGPUISelLowering.h
test/CodeGen/R600/add_i64.ll
test/CodeGen/R600/mul.ll
test/CodeGen/R600/or.ll
test/CodeGen/R600/sext-in-reg.ll
test/CodeGen/R600/trunc.ll