summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/modularize
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2013-08-26 15:06:10 +0000
committerTom Stellard <thomas.stellard@amd.com>2013-08-26 15:06:10 +0000
commit838e2344ec5a028060ff51a7a9f10ae087659a92 (patch)
treeeb6f8255abd892e959696adde14e727e5c97e23f /clang-tools-extra/modularize
parent35bb18c2a785535468344dc2508a98d7ca0614af (diff)
downloadbcm5719-llvm-838e2344ec5a028060ff51a7a9f10ae087659a92.tar.gz
bcm5719-llvm-838e2344ec5a028060ff51a7a9f10ae087659a92.zip
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()); llvm-svn: 189227
Diffstat (limited to 'clang-tools-extra/modularize')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud