OSDN Git Service

SelectionDAG: accommodate atomic floating stores.
authorTim Northover <tnorthover@apple.com>
Fri, 10 May 2019 11:23:04 +0000 (11:23 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 10 May 2019 11:23:04 +0000 (11:23 +0000)
commit06b700153b4824d7cf3d8f206b14e264b8535065
tree2d0cbdbdf4265e8e32bffd491aadd65f4a8281bb
parent6c29c7ed4d2d84ac7c249874f8b12d3924c33622
SelectionDAG: accommodate atomic floating stores.

We were applying a pointer truncation to floating types, which crashed LLVM.
That is Not A Good Thing(TM).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360421 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
test/CodeGen/NVPTX/load-store.ll