OSDN Git Service

[DAG] use getBitcast() to reduce code
authorSanjay Patel <spatel@rotateright.com>
Thu, 2 Jun 2016 16:01:15 +0000 (16:01 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 2 Jun 2016 16:01:15 +0000 (16:01 +0000)
commitec6796196a143886413b9615338e2b78fa9f0fbb
treedb5dd6101f041452a2747e86787e2a526b5e70f3
parent4a35a33e2ee5b1a34a5f82b2b75c01c418d775ce
[DAG] use getBitcast() to reduce code

Although this was intended to be NFC, the test case wiggle shows a change in
code scheduling/RA caused by a difference in the SDLoc() generation.

Depending on how you look at it, this is the (dis)advantage of exact checking
in regression tests.

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