This is an archive of the discontinued LLVM Phabricator instance.

Fix bug while building FP16 constant vectors for AArch64
ClosedPublic

Authored by pirama on Mar 16 2015, 4:11 PM.

Details

Summary

Building FP16 constant vectors caused the FP16 data to be bitcast to i64. This patch creates a BITCAST node with the correct value, and adds a test to verify correct handling.

Diff Detail

Repository
rL LLVM

Event Timeline

pirama updated this revision to Diff 22064.Mar 16 2015, 4:11 PM
pirama retitled this revision from to Fix bug while building FP16 constant vectors for AArch64.
pirama updated this object.
pirama edited the test plan for this revision. (Show Details)
pirama set the repository for this revision to rL LLVM.
pirama added subscribers: Unknown Object (MLST), srhines.Mar 16 2015, 4:12 PM
ab added a subscriber: ab.Mar 16 2015, 4:26 PM
mcrosier accepted this revision.Mar 17 2015, 6:10 AM
mcrosier added a reviewer: mcrosier.
mcrosier added a subscriber: mcrosier.

LGTM.

This revision is now accepted and ready to land.Mar 17 2015, 6:10 AM
This revision was automatically updated to reflect the committed changes.