[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:
Craig Topper 2019-04-26 16:39:35 +00:00
parent 8f3da70eed
commit ad662cf4c1
1 changed files with 1 additions and 1 deletions

View File

@ -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