OSDN Git Service

Tidied up TRUNC combine code. NFC.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 23 Jan 2016 21:50:40 +0000 (21:50 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sat, 23 Jan 2016 21:50:40 +0000 (21:50 +0000)
commit2a554ce9c08fb228a3197af0273a003e2160cd62
treec482f9301964d92c81641ddbad3c6318bcbc33ef
parentec0f2d8352d8d6fcfab88ff9537d4447c01cda9d
Tidied up TRUNC combine code. NFC.

Make use of DAG.getBitcast and use clang-format to reduce number of lines (and make it more readable).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258644 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp