llvm/test/CodeGen
Tom Stellard edd08f7428 SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy()
If we have a binary operation like ISD:ADD, we can set the result type
equal to the result type of one of its operands rather than using
TargetLowering::getPointerTy().

Also, any use of DAG.getIntPtrConstant(C) as an operand for a binary
operation can be replaced with:
DAG.getConstant(C, OtherOperand.getValueType());

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189227 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-26 15:06:10 +00:00
..
AArch64 A minor change for an obvous problem caused by r188451: 2013-08-21 17:47:53 +00:00
ARM [ARM] Fix another ARM FastISel -verify-machineinstrs issue. 2013-08-23 15:20:56 +00:00
CPP [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Generic [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Hexagon TBAA: remove !tbaa from testing cases when they are not needed. 2013-08-21 22:20:53 +00:00
Inputs Debug Info Verifier: verify SPs in llvm.dbg.sp. 2013-07-27 01:26:08 +00:00
Mips Start to add the LLVM builtins to the mips16 exclusion lists for fp. 2013-08-25 02:40:25 +00:00
MSP430 [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
NVPTX [NVPTX] Re-enable assembly printing support for inline assembly 2013-08-24 01:17:23 +00:00
PowerPC [PowerPC] Add fast-isel branch and compare selection. 2013-08-25 22:33:42 +00:00
R600 SelectionDAG: Remove unnecessary uses of TargetLowering::getPointerTy() 2013-08-26 15:06:10 +00:00
SPARC [Sparc] Add long double (f128) instructions to sparc backend. 2013-08-25 18:30:06 +00:00
SystemZ [SystemZ] Add basic prefetch support 2013-08-23 11:36:42 +00:00
Thumb [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
Thumb2 ARM: make sure ARM-mode pseudo-inst requires IsARM 2013-08-23 10:16:39 +00:00
X86 AVX-512: Added shuffle instructions - 2013-08-26 12:45:35 +00:00
XCore [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00