summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Path.cpp
diff options
context:
space:
mode:
authorNuno Lopes <nunoplopes@sapo.pt>2012-07-19 16:27:45 +0000
committerNuno Lopes <nunoplopes@sapo.pt>2012-07-19 16:27:45 +0000
commitc14776d406080e5d6697658b5ebb5a48d4f9918c (patch)
tree0d62e6db1af0984b416acd8094bda2010628fa64 /llvm/lib/Support/Path.cpp
parentac4cdc8ef4f039205fa5316513da7660ea09ef1f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud