diff options
author | Sean Callanan <scallanan@apple.com> | 2010-12-16 03:17:46 +0000 |
---|---|---|
committer | Sean Callanan <scallanan@apple.com> | 2010-12-16 03:17:46 +0000 |
commit | e4ec90e990e0d84282c79cae6e221a36b81d7665 (patch) | |
tree | 8c1890f8bb30f7dbf44d57bd133e02d57ee9869e /llvm/lib/Target/PowerPC/PPCAsmBackend.cpp | |
parent | 4c1386add956cada581e967255f64bacdf973004 (diff) | |
download | bcm5719-llvm-e4ec90e990e0d84282c79cae6e221a36b81d7665.tar.gz bcm5719-llvm-e4ec90e990e0d84282c79cae6e221a36b81d7665.zip |
Implemented a feature where the expression parser
can avoid running the code in the target if the
expression's result is known and the expression
has no side effects.
Right now this feature is quite conservative in
its guess about side effects, and it only computes
integer results, but the machinery to make it more
sophisticated is there.
llvm-svn: 121952
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCAsmBackend.cpp')
0 files changed, 0 insertions, 0 deletions