If the value types are equal then this routine
authorDuncan Sands <baldrick@free.fr>
Fri, 19 Oct 2007 13:05:40 +0000 (13:05 +0000)
committerDuncan Sands <baldrick@free.fr>
Fri, 19 Oct 2007 13:05:40 +0000 (13:05 +0000)
commit5d868b1ffedfb4917abcb3b41afa6e21d9160ff7
treef37f3abe9dbede297d264607bd5666d46d017879
parent618b0d59e609fb830ba13fbf236f783dccac6c3a
If the value types are equal then this routine
asserts in later checks rather than producing
the ordinary load it is supposed to.  Avoid all
such hassles by directly returning an ordinary
load in this case.

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