The function EmitAssignment would simply print "x = y" for an assignment of y to x. On Hexagon "x = y" is a syntax used in most instructions, and is not treated as a directive.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Probably. Are you suggesting changing to set for everybody? Should it still be hardcoded as ".set" (as it was for '=')?
Comment Actions
Yes. If there is a solution that works everywhere that is better than having a config option.
Comment Actions
LGTM, but please wait for a second opinion. rnk?
For what it is worth, gcc printed assembly uses .set too.
Comment Actions
lgtm
I always preferred the = spelling, but if this matches what GCC emits and works around Hexagon assembler issues, I'm OK with it.