Bitmap: Use foldl' instead of foldr
authorBen Gamari <bgamari.foss@gmail.com>
Wed, 11 Jan 2017 21:33:40 +0000 (16:33 -0500)
committerBen Gamari <ben@smart-cactus.org>
Tue, 17 Jan 2017 20:56:27 +0000 (15:56 -0500)
commitb1726c1194f1ed35dffc83304260b3b29abd0c53
treec59522aed26740a85e7738219a70aa935b28dbbe
parent769e3ee7671f0a038558b591c58ba340c8c09952
Bitmap: Use foldl' instead of foldr

These are producing StgWords so foldl' is the natural choice. I'm not
sure how I didn't notice this when I wrote D1041.

Test Plan: Validate

Reviewers: austin, simonmar

Reviewed By: simonmar

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D2955

GHC Trac Issues: #7450
compiler/cmm/Bitmap.hs