Issue 87917
Summary Assembler fails on capitalized instruction
Labels new issue
Assignees
Reporter boomanaiden154
    When `llvm-mc` (with the flags `--filetype=obj --assemble`) is run against the following assembly:
```x86
.intel_syntax noprefix
rep mov eax, 1
```
It produces a valid object file as expected. However, when `llvm-mc` is run against the same string, but with everything capitalized:
```x86
.intel_syntax noprefix
REP MOV EAX, 1
```
`llvm-mc` complains about it:
```
/tmp/test.s:2:1: error: invalid instruction mnemonic 'MOV'
REP MOV EAX, 1
^~~
```

I'm not sure if I'm missing something here, but as far as I'm aware, assembly is supposed to be capitalization agnostic.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to