summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetData.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-08-07 05:18:29 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-08-07 05:18:29 +0000
commita33e4fe603d8e9a06606aac8c790296b22375c87 (patch)
tree8c18f1adb2f76d52f79b76b5690bb540009164fd /llvm/lib/Target/TargetData.cpp
parentb8146afcd15577e2140ea74253d52078877f50f6 (diff)
downloadbcm5719-llvm-a33e4fe603d8e9a06606aac8c790296b22375c87.tar.gz
bcm5719-llvm-a33e4fe603d8e9a06606aac8c790296b22375c87.zip
Update documentation of HasSideEffects to match its callers' expectations, and
update implementation to match. An elidable, non-trivial constructor call is a side-effect under this definition, but wasn't under the old one, because we are not required to evaluate it even though it may have an effect. Also rationalize checking for volatile reads: just look for lvalue-to-rvalue conversions on volatile glvalues, and ignore whether a DeclRefExpr etc is for a volatile variable. llvm-svn: 161393
Diffstat (limited to 'llvm/lib/Target/TargetData.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud