diff options
author | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-19 16:27:45 +0000 |
---|---|---|
committer | Nuno Lopes <nunoplopes@sapo.pt> | 2012-07-19 16:27:45 +0000 |
commit | c14776d406080e5d6697658b5ebb5a48d4f9918c (patch) | |
tree | 0d62e6db1af0984b416acd8094bda2010628fa64 /llvm/lib/Support/Path.cpp | |
parent | ac4cdc8ef4f039205fa5316513da7660ea09ef1f (diff) | |
download | bcm5719-llvm-c14776d406080e5d6697658b5ebb5a48d4f9918c.tar.gz bcm5719-llvm-c14776d406080e5d6697658b5ebb5a48d4f9918c.zip |
reimplement truncate() to make it optimal.
It is optimal at least up to 7 bits (I've tested all such cases)
This change to truncate() allows a little simplification to the multiplication code,
and it also makes multiplication optimal :)
llvm-svn: 160512
Diffstat (limited to 'llvm/lib/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions