This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU][MC] Fix for Bugs 28201, 28199, 28170 + LIT tests
ClosedPublic

Authored by dp on Mar 10 2017, 6:47 AM.

Details

Summary

This fix enables sp3 abs modifier with constants, for example:

  • |1.0|
  • |-1|

Currently this is not supported because closing '|' conflicts with syntax of standard MC expressions.

Diff Detail

Repository
rL LLVM

Event Timeline

dp created this revision.Mar 10 2017, 6:47 AM
artem.tamazov accepted this revision.EditedMar 17 2017, 7:01 AM

Looks good.

This revision is now accepted and ready to land.Mar 17 2017, 7:01 AM
artem.tamazov added inline comments.Mar 17 2017, 7:03 AM
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
952 ↗(On Diff #91332)

pls remove extra whitespace prior committing this.

This revision was automatically updated to reflect the committed changes.