Skip to content
Commit 63c38a66 authored by Chris Lattner's avatar Chris Lattner
Browse files

Speed up getABITypeSize by turning a i64 mul and div into an

AND.  This is speedup on any reasonable target, but particularly
on 32-bit targets where this often turns into a libcall like udivdi3.

We know that alignments are a power of two but the compiler doesn't.

llvm-svn: 60688
parent 2f9d8458
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment