summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Timer.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-06-23 18:03:49 +0000
committerDale Johannesen <dalej@apple.com>2009-06-23 18:03:49 +0000
commit736ffeeab434c864a28278ec1a67df384165a1eb (patch)
treef050a54d0abf14103e8d938aa4e6ce2f77cfe21a /llvm/lib/Support/Timer.cpp
parent9e3df5b67f85234b85492ac0a417135c518e926a (diff)
downloadbcm5719-llvm-736ffeeab434c864a28278ec1a67df384165a1eb.tar.gz
bcm5719-llvm-736ffeeab434c864a28278ec1a67df384165a1eb.zip
See test. Judging from PR 1278, at the time the test was committed, the
generated code was apparently doing stores directly into the return value aggregate; now, it's doing a copy from a compiler-generated static object. That object is initialized using [4 x i8] which breaks the test. I believe this change preserves the original point of the test. Of course it would be better for the code to do stores directly into the return aggregate, but that is not what happens at -O0; the llvm optimizers seem to do that on x86 but not on ppc32, possibly because of the explicit padding (which is unavoidable). I think it must have been being done by a gcc optimizer pass before. llvm-svn: 73972
Diffstat (limited to 'llvm/lib/Support/Timer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud