projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f3da70
)
[X86] Segment registers should have i16 type not i32.
author
Craig Topper
<craig.topper@intel.com>
Fri, 26 Apr 2019 16:39:35 +0000
(16:39 +0000)
committer
Craig Topper
<craig.topper@intel.com>
Fri, 26 Apr 2019 16:39:35 +0000
(16:39 +0000)
Probably doesn't really matter, but was inconsistent with the rest of the code.
llvm-svn: 359317
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
b/llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
index
c01bf4d
..
55de312
100644
(file)
--- a/
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
+++ b/
llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
@@
-296,7
+296,7
@@
namespace {
if (AM.Segment.getNode())
Segment = AM.Segment;
else
- Segment = CurDAG->getRegister(0, MVT::i
32
);
+ Segment = CurDAG->getRegister(0, MVT::i
16
);
}
// Utility function to determine whether we should avoid selecting