[LLVMbugs] [Bug 23157] New: Assertion `!Legal->isUniform(SI->getPointerOperand()) && "We do not allow storing to uniform addresses"' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Apr 7 20:50:37 PDT 2015
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: unassignedbugs at nondot.org
Reporter: peter at pcc.me.uk
CC: llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150408/dacc9127/attachment.html>
More information about the llvm-bugs
mailing list