This is an archive of the discontinued LLVM Phabricator instance.

[NVPTX] Fixed lowering of unaligned loads/stores of f16 scalars and vectors.
ClosedPublic

Authored by tra on Mar 6 2017, 5:12 PM.

Details

Summary

v2f16 is a legal register type which pushes responsibility of handling unaligned loads/stores from legalizer to NVPTX.
This patch adds missing bits of lowering code to do so.

Diff Detail

Repository
rL LLVM

Event Timeline

tra created this revision.Mar 6 2017, 5:12 PM
jlebar accepted this revision.Mar 6 2017, 5:14 PM
jlebar added inline comments.
lib/Target/NVPTX/NVPTXISelLowering.cpp
2076 ↗(On Diff #90766)

s/stores/loads/?

2121 ↗(On Diff #90766)

s/loads/stores/?

This revision is now accepted and ready to land.Mar 6 2017, 5:14 PM
tra updated this revision to Diff 90767.Mar 6 2017, 5:17 PM

Fixed commens.

tra marked 2 inline comments as done.Mar 6 2017, 5:17 PM
This revision was automatically updated to reflect the committed changes.