Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MC] Drop whitespace padding in AMDGPU combined asm/disasm tests. #104433

Merged
merged 1 commit into from
Aug 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions llvm/include/llvm/MC/MCAsmInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,9 @@ class MCAsmInfo {
/// Preserve Comments in assembly
bool PreserveAsmComments;

/// The column (zero-based) at which asm comments should be printed.
unsigned CommentColumn = 40;

/// True if the integrated assembler should interpret 'a >> b' constant
/// expressions as logical rather than arithmetic.
bool UseLogicalShr = true;
Expand Down Expand Up @@ -638,9 +641,8 @@ class MCAsmInfo {
bool getStarIsPC() const { return StarIsPC; }
const char *getSeparatorString() const { return SeparatorString; }

/// This indicates the column (zero-based) at which asm comments should be
/// printed.
unsigned getCommentColumn() const { return 40; }
unsigned getCommentColumn() const { return CommentColumn; }
void setCommentColumn(unsigned Col) { CommentColumn = Col; }

StringRef getCommentString() const { return CommentString; }
bool getRestrictCommentStringToStartOfStatement() const {
Expand Down
Loading
Loading