K0 isn't expected as a write-mask, so provide a detailed error here, instead of the more generic one (invalid op for insn)
Conforms with gas
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D36570
[X86][AsmParser][AVX512] Error appropriately when K0 is tried as a write-mask ClosedPublic Authored by coby on Aug 10 2017, 1:49 AM.
Details Summary K0 isn't expected as a write-mask, so provide a detailed error here, instead of the more generic one (invalid op for insn)
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Aug 10 2017, 4:45 AM Closed by commit rL310789: [X86][AsmParser][AVX512] Error appropriately when K0 is tried as a write-mask (authored by coby). · Explain WhyAug 13 2017, 5:06 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 110528 lib/Target/X86/AsmParser/X86AsmParser.cpp
test/MC/X86/avx512-err.s
test/MC/X86/intel-syntax-avx512-error.s
|
Why do you use a new RegLoc?