forked from OSchip/llvm-project
[X86] Segment registers should have i16 type not i32.
Probably doesn't really matter, but was inconsistent with the rest of the code. llvm-svn: 359317
This commit is contained in:
parent
8f3da70eed
commit
ad662cf4c1
|
@ -296,7 +296,7 @@ namespace {
|
|||
if (AM.Segment.getNode())
|
||||
Segment = AM.Segment;
|
||||
else
|
||||
Segment = CurDAG->getRegister(0, MVT::i32);
|
||||
Segment = CurDAG->getRegister(0, MVT::i16);
|
||||
}
|
||||
|
||||
// Utility function to determine whether we should avoid selecting
|
||||
|
|
Loading…
Reference in New Issue