summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-06-17 20:48:23 +0000
committerDale Johannesen <dalej@apple.com>2009-06-17 20:48:23 +0000
commit81b6463ed0b3e37366352cc65c04711aae04729b (patch)
tree9fd50f7e52117132d9cfcb5e7c8fe0c11f8840ca /clang/lib/CodeGen/CodeGenModule.cpp
parentf89c38cace0da442ef3ffdccf1faf5e492b20059 (diff)
downloadbcm5719-llvm-81b6463ed0b3e37366352cc65c04711aae04729b.tar.gz
bcm5719-llvm-81b6463ed0b3e37366352cc65c04711aae04729b.zip
This fixes a bug introduced in 72661, which can
move loads back past a check that the load address is valid, see new testcase. The test that went in with 72661 has exactly this case, except that the conditional it's moving past is checking something else; I've settled for changing that test to reference a global, not a pointer. It may be possible to scan all the tests you pass and make sure none of them are checking any component of the address, but it's not trivial and I'm not trying to do that here. llvm-svn: 73632
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud