diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2016-06-02 06:21:42 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2016-06-02 06:21:42 +0000 |
| commit | afefa67310faca9419ca662ba0f7a2045c6fc1cc (patch) | |
| tree | 54e65fc294758145ab49191bc008b06d40b32ed3 /llvm/lib/CodeGen | |
| parent | d065e23dac4ccf233dee643594c0ec35dba7da03 (diff) | |
| download | bcm5719-llvm-afefa67310faca9419ca662ba0f7a2045c6fc1cc.tar.gz bcm5719-llvm-afefa67310faca9419ca662ba0f7a2045c6fc1cc.zip | |
[CodeView] Remove superfluous bitmath
llvm-svn: 271495
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp index 7c167ba0c43..a8d464667a9 100644 --- a/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp @@ -766,7 +766,7 @@ TypeIndex CodeViewDebug::lowerTypeBasic(const DIBasicType *Ty) { uint32_t ByteSize; Kind = static_cast<dwarf::TypeKind>(Ty->getEncoding()); - ByteSize = Ty->getSizeInBits() >> 3; + ByteSize = Ty->getSizeInBits() / 8; SimpleTypeKind STK = SimpleTypeKind::None; switch (Kind) { |

