This is an archive of the discontinued LLVM Phabricator instance.

[X86][Experiment] Mangle global variable for inline assembly
AbandonedPublic

Authored by pengfei on Mar 6 2022, 6:11 AM.

Details

Reviewers
None
Summary

This is an experiment inspired by @efriedma 's suggestion on D120887.
It seems a more concise way to solve Xiang's problem.

There're some lit failures which I didn't care for now. I can fix them
if we think this is a good approch.

Diff Detail

Event Timeline

pengfei created this revision.Mar 6 2022, 6:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2022, 6:11 AM
pengfei requested review of this revision.Mar 6 2022, 6:11 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 6 2022, 6:11 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
pengfei added inline comments.Mar 6 2022, 7:16 AM
clang/lib/CodeGen/CGStmt.cpp
2555–2556

I'll use regex to match precisely and replace all.

pengfei abandoned this revision.Sep 20 2022, 12:53 AM