https://llvm.org/bugs/show_bug.cgi?id=23157
Bug ID: 23157
Summary: Assertion `!Legal->isUniform(SI->getPointerOperand())
&& "We do not allow storing to uniform addresses"'
failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Loop Optimizer
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
(reduced from chromium third_party/mesa/src/src/mesa/main/texcompress_fxt1.c)
$ cat texcompress.c
int a, d;
const unsigned char *b[1];
char c[8];
void fn1() {
const unsigned char **e = b;
int i;
for (; a; a++)
for (; d;)
for (; i; i++)
c[i] = *e[a]++;
}
$ ~/src/llvm-build-dbg/bin/clang -O2 texcompress.c
clang-3.7: /.../lib/Transforms/Vectorize/LoopVectorize.cpp:1834: virtual void
<anonymous
namespace>::InnerLoopVectorizer::vectorizeMemoryInstruction(llvm::Instruction
*): Assertion `!Legal->isUniform(SI->getPointerOperand()) && "We do not allow
storing to uniform addresses"' failed.
Reverting r234361 fixes the assertion failure.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs