[all-commits] [llvm/llvm-project] d2c224: [X86] Parse and ignore .arch directives
Fangrui Song via All-commits
all-commits at lists.llvm.org
Thu Jul 30 08:38:49 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d2c22487225b05159c1d7d0da7fac7cae3d2049b
https://github.com/llvm/llvm-project/commit/d2c22487225b05159c1d7d0da7fac7cae3d2049b
Author: Fangrui Song <maskray at google.com>
Date: 2020-07-30 (Thu, 30 Jul 2020)
Changed paths:
M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
A llvm/test/MC/X86/directive-arch.s
Log Message:
-----------
[X86] Parse and ignore .arch directives
We parse .arch so that some `.arch i386; .code32` code can assemble. It seems
that X86AsmParser does not do a good job tracking what features are needed to
assemble instructions. GNU as's x86 port supports a very wide range of .arch
operands. Ignore the operand for now.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D84900
More information about the All-commits
mailing list