summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-08-13 06:53:47 +0000
committerCraig Topper <craig.topper@intel.com>2018-08-13 06:53:47 +0000
commite42a15953750ee9cc666c300cefaa944af21b436 (patch)
treef6cd20217bc789ccf2b9bcf19fdb2089c5952e67 /llvm/lib/Transforms
parent901a0a95885f2c2dcfb03e56dabd2b0b12350a15 (diff)
downloadbcm5719-llvm-e42a15953750ee9cc666c300cefaa944af21b436.tar.gz
bcm5719-llvm-e42a15953750ee9cc666c300cefaa944af21b436.zip
[SelectionDAG] In PromoteIntRes_BITCAST, when the input is TypePromoteFloat, make sure the output type is scalar. For vectors, use a store and load of temporary.
Previously if the result type was a vector, we emitted a FP_TO_FP16 with a vector result type which isn't valid. This is basically the opposite case of the root cause of PR38533. llvm-svn: 339535
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud