mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Fix for PR1023 by Dan Gohman.
llvm-svn: 32003
This commit is contained in:
parent
f26e88cfa4
commit
0be56fab68
@ -3376,7 +3376,7 @@ void SelectionDAGLowering::visitMemIntrinsic(CallInst &I, unsigned Op) {
|
||||
}
|
||||
if (G) {
|
||||
GlobalVariable *GV = dyn_cast<GlobalVariable>(G->getGlobal());
|
||||
if (GV) {
|
||||
if (GV && GV->isConstant()) {
|
||||
Str = GV->getStringValue(false);
|
||||
if (!Str.empty()) {
|
||||
CopyFromStr = true;
|
||||
|
Loading…
Reference in New Issue
Block a user