[PATCH] D27749: [APFloat] Fix rotl/rotr when the shift amount is greater than the total bit width.
Joey Gouly via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 05:00:08 PST 2017
joey added inline comments.
================
Comment at: lib/Support/APInt.cpp:1249
+ unsigned rotBitWidth = rotateAmt.getBitWidth();
+ APInt rem, rot = rotateAmt;
+ if (rotBitWidth < BitWidth) {
----------------
I've changed this to declare 'rem' where it's first assigned (line 1253). I'll upload again once Eli has taken another look.
https://reviews.llvm.org/D27749
More information about the llvm-commits
mailing list