diff options
author | Jan Voung <jvoung@chromium.org> | 2013-09-16 13:33:23 -0700 |
---|---|---|
committer | Jan Voung <jvoung@chromium.org> | 2013-09-16 13:33:23 -0700 |
commit | de60bbfea3de2565a2f696810befece301507494 (patch) | |
tree | 9cad8284e5389eb8dcf938a7a6dc4116c34d2eeb /projects | |
parent | 591359fae065fb5f86ba957a550503daef727536 (diff) |
Use ARM TTI in "opt" to make up for missing LE32 TTI.
Since we deleted the rewrite of ARM -> LE32 in the
bitcode reader, opt is unable to look up a TTI to transform
switch(c) { case 1: x = <const1>; break; case 2: x = <const2>; break; ... }
into a lookup table to get x from c.
This causes a regression in pnacl-llc's size (which has
lots of switch statements).
Fake the target lookup in opt for now. Eventually we should
look into making target info for le32.
BUG=https://code.google.com/p/nativeclient/issues/detail?id=2554
TEST= trybot http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-linux-pnacl-x86_64/builds/887
http://chromegw.corp.google.com/i/tryserver.nacl/builders/nacl-toolchain-mac-pnacl-x86_32/builds/842
R=dschuff@chromium.org
Review URL: https://codereview.chromium.org/23551013
Diffstat (limited to 'projects')
0 files changed, 0 insertions, 0 deletions