llvm-project/llvm/lib
Ahmed Bougacha 63f78b0206 [X86] Define segment MI operands as regs instead of i8imm.
We've been pretending that segments are i8imm since the initial
support (r68645), predating the addition of the SEGMENT_REG class
(r81895).  That happens to works, but is wrong, and inconsistent
with how we print (e.g., X86ATTInstPrinter::printMemReference)
and parse them (e.g., X86Operand::addMemOperands).

This change shouldn't affect any tool users, but is visible to
library users or out-of-tree tablegen backends: this causes
MCOperandInfo for the segment op to have an RC instead of "unknown",
and TII::getRegClass to actually return something.  As the registers
are reserved and no vregs of the class ever created, that shouldn't
change anything.

No test change; no suspicious getRegClass() in X86 and CodeGen.

llvm-svn: 271559
2016-06-02 18:29:15 +00:00
..
Analysis Inline isDereferenceableFromAttribute; NFC 2016-06-02 00:52:53 +00:00
AsmParser IR: Allow multiple global metadata attachments with the same type. 2016-06-01 01:17:57 +00:00
Bitcode IR: Allow multiple global metadata attachments with the same type. 2016-06-01 01:17:57 +00:00
CodeGen [codeview] Fix crash when handling qualified void types 2016-06-02 17:40:51 +00:00
DebugInfo pdbdump: print out COFF section headers. 2016-06-02 18:20:20 +00:00
ExecutionEngine [Orc] Add conversion to/from RuntimeDyld::SymbolInfo for JITSymbol. 2016-05-31 23:14:26 +00:00
Fuzzer [LibFuzzer] Disable compiling and running the LibFuzzer dataflow sanitizer tests on Apple platforms. 2016-06-02 05:48:09 +00:00
IR [X86][SSE] Replace (V)CVTTPS2DQ and VCVTTPD2DQ truncating (round to zero) f32/f64 to i32 with generic IR (llvm) 2016-06-02 10:55:21 +00:00
IRReader Remove autoconf support 2016-01-26 21:29:08 +00:00
LTO [ThinLTO] Resolve LinkOnceAny 2016-05-26 14:16:52 +00:00
LibDriver LibDriver: Silently do nothing when provided no inputs. 2016-04-13 19:36:04 +00:00
LineEditor Fix Clang-tidy modernize-deprecated-headers warnings in some files; other minor fixes. 2016-03-28 17:40:08 +00:00
Linker Apply clang-tidy's misc-move-constructor-init throughout LLVM. 2016-05-27 14:27:24 +00:00
MC Ignore Lexing errors in macro body definitions 2016-06-02 17:15:05 +00:00
Object [COFF] Expose the PE debug data directory and dump it 2016-06-02 17:10:43 +00:00
ObjectYAML [COFF] Expose the PE debug data directory and dump it 2016-06-02 17:10:43 +00:00
Option Option parser: class for consuming a joined arg in addition to all remaining args 2016-04-15 00:23:30 +00:00
Passes [MemorySSA] Port to new pass manager 2016-06-01 21:30:40 +00:00
ProfileData Change llvm-objdump, llvm-nm and llvm-size when reporting an object file error 2016-05-31 20:35:34 +00:00
Support This is yet another attempt to re-instate r220932 as discussed in 2016-06-02 18:22:12 +00:00
TableGen [NFC] Header cleanup 2016-04-18 09:17:29 +00:00
Target [X86] Define segment MI operands as regs instead of i8imm. 2016-06-02 18:29:15 +00:00
Transforms [InstCombine] remove guard for generating a vector select 2016-06-02 18:03:05 +00:00
CMakeLists.txt Move ObjectYAML code to a new library. 2016-03-01 19:15:06 +00:00
LLVMBuild.txt Add LLVMBuild for ObjectYAML. 2016-03-01 21:29:33 +00:00