projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some comments explaining what MVT and EVT are, and how they differ.
[oota-llvm.git]
/
include
/
llvm
/
System
/
SwapByteOrder.h
diff --git
a/include/llvm/System/SwapByteOrder.h
b/include/llvm/System/SwapByteOrder.h
index 6467b323e4222499193c985a982c738c6fec22ba..64a8acb019b960a0cf032958d0a9255749a45fe8 100644
(file)
--- a/
include/llvm/System/SwapByteOrder.h
+++ b/
include/llvm/System/SwapByteOrder.h
@@
-70,7
+70,7
@@
SwapByteOrder(value_type Value) {
uint32_t Byte1 = value & 0x0000FF00;
uint32_t Byte2 = value & 0x00FF0000;
uint32_t Byte3 = value & 0xFF000000;
- return
typename
value_type(
+ return value_type(
(Byte0 << 24) | (Byte1 << 8) | (Byte2 >> 8) | (Byte3 >> 24));
#endif
}