diff options
author | Andrew Trick <atrick@apple.com> | 2011-10-15 06:19:55 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2011-10-15 06:19:55 +0000 |
commit | fd4ca0f4ac6dc992c26be029e162a5b21168b9ed (patch) | |
tree | ae7fdd644534c5a388faa24f087887cb7efb0067 /llvm/lib/Support/StringRef.cpp | |
parent | e41fac231c9d1284409fa0bd1539f9f5eabdb1dc (diff) | |
download | llvm-fd4ca0f4ac6dc992c26be029e162a5b21168b9ed.zip llvm-fd4ca0f4ac6dc992c26be029e162a5b21168b9ed.tar.gz llvm-fd4ca0f4ac6dc992c26be029e162a5b21168b9ed.tar.bz2 |
Fix SCEVExpander assert during LSR: "argument of incompatible type".
Just because we're dealing with a GEP doesn't mean we can assert the
SCEV has a pointer type. The fix is simply to ignore the SCEV pointer
type, which we really didn't need.
Fixes PR11138 webkit crash.
llvm-svn: 142058
Diffstat (limited to 'llvm/lib/Support/StringRef.cpp')
0 files changed, 0 insertions, 0 deletions