summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/TargetParser.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2018-08-16 10:02:47 +0000
committerHans Wennborg <hans@hanshq.net>2018-08-16 10:02:47 +0000
commite4f6c94bd7d6b020b80041e0f5acff38656de9ab (patch)
tree4ed76ba948a55bfc29a9206959a434367c38d417 /llvm/lib/Support/TargetParser.cpp
parentf273c33c1f1c8f07e16d0adcc276f26703a7d77e (diff)
downloadbcm5719-llvm-e4f6c94bd7d6b020b80041e0f5acff38656de9ab.tar.gz
bcm5719-llvm-e4f6c94bd7d6b020b80041e0f5acff38656de9ab.zip
Merging r339536:
------------------------------------------------------------------------ r339536 | ctopper | 2018-08-13 08:53:49 +0200 (Mon, 13 Aug 2018) | 3 lines [SelectionDAG] In PromoteFloatOp_BITCAST, insert a bitcast after the fp_to_fp16 in case the result type isn't a scalar integer. This is another variation of PR38533. In this case, the result type of the bitcast is legal and 16-bits wide, but not a scalar integer. So we need to emit the convert to i16 and then bitcast it to the true result type. This new bitcast will be further type legalized if necessary. ------------------------------------------------------------------------ llvm-svn: 339857
Diffstat (limited to 'llvm/lib/Support/TargetParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud