summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp
diff options
context:
space:
mode:
authorSean Callanan <scallanan@apple.com>2010-12-16 03:17:46 +0000
committerSean Callanan <scallanan@apple.com>2010-12-16 03:17:46 +0000
commite4ec90e990e0d84282c79cae6e221a36b81d7665 (patch)
tree8c1890f8bb30f7dbf44d57bd133e02d57ee9869e /llvm/lib/Target/PowerPC/PPCMCCodeEmitter.cpp
parent4c1386add956cada581e967255f64bacdf973004 (diff)
downloadbcm5719-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/PPCMCCodeEmitter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud