This is an archive of the discontinued LLVM Phabricator instance.

[x86][inline-asm] Add support for curly brackets escape using "%" in extended inline asm.
ClosedPublic

Authored by mharoush on Sep 28 2016, 2:51 AM.

Details

Summary

This patch is a compatibility fix for clang, matching GCC support for charter escape when using extended in-line assembly (i.e, "%{" ,"%}" --> "{" ,"}" ).
It is meant to enable support for advanced features such as AVX512 conditional\masked vector instructions/broadcast assembly syntax.

Note: This related test is dependent on the review on https://reviews.llvm.org/D25011

Diff Detail

Repository
rL LLVM

Event Timeline

mharoush updated this revision to Diff 72783.Sep 28 2016, 2:51 AM
mharoush retitled this revision from to [x86][inline-asm] Add support for curly brackets escape using "%" in extended inline asm..
mharoush updated this object.
mharoush added reviewers: rnk, myatsina.
mharoush set the repository for this revision to rL LLVM.
mharoush added a subscriber: cfe-commits.
rnk added inline comments.Sep 30 2016, 8:21 AM
test/CodeGen/x86_inlineasm_curly_bracket_escape.c
1 ↗(On Diff #72783)

Please check the LLVM IR, not the assembly

mharoush updated this revision to Diff 73602.Oct 5 2016, 1:40 AM
mharoush marked an inline comment as done.

Done

mharoush added a comment.EditedOct 20 2016, 2:18 AM

ping

rnk accepted this revision.Oct 20 2016, 10:51 AM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Oct 20 2016, 10:51 AM
This revision was automatically updated to reflect the committed changes.