[all-commits] [llvm/llvm-project] 34ad4c: [APInt] byteSwap - simplify sub 64-bits cases to m...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Sat Feb 15 04:16:36 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 34ad4cca7245626c3d8348c7e3dd077ff35db84e
https://github.com/llvm/llvm-project/commit/34ad4cca7245626c3d8348c7e3dd077ff35db84e
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2020-02-15 (Sat, 15 Feb 2020)
Changed paths:
M llvm/lib/Support/APInt.cpp
Log Message:
-----------
[APInt] byteSwap - simplify sub 64-bits cases to match general implementation. NFCI.
We can just byteSwap the entire uint64_t VAL and then shift down into place like we do for the multi-word case.
More information about the All-commits
mailing list