[PATCH] D10936: AMDGPU: Avoid using 64-bit shift for i64 (shl x, 32)
Matt Arsenault
Matthew.Arsenault at amd.com
Sat Jul 4 10:54:55 PDT 2015
Use truncate instead of extract_element x, 0
Add tests for lshr x, 32 case
http://reviews.llvm.org/D10936
Files:
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
lib/Target/AMDGPU/AMDGPUISelLowering.h
test/CodeGen/AMDGPU/array-ptr-calc-i64.ll
test/CodeGen/AMDGPU/mul_uint24.ll
test/CodeGen/AMDGPU/shl.ll
test/CodeGen/AMDGPU/srl.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10936.29049.patch
Type: text/x-patch
Size: 8558 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150704/80ba4b64/attachment.bin>
More information about the llvm-commits
mailing list