search for: cs2argidx

Displaying 7 results from an estimated 7 matches for "cs2argidx".

2016 Aug 29
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
this is definitely a bug in AA. 225 for (auto I = CS2.arg_begin(), E = CS2.arg_end(); I != E; ++I) { 226 const Value *Arg = *I; 227 if (!Arg->getType()->isPointerTy()) -> 228 continue; 229 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); 230 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, CS2ArgIdx, TLI); AliasAnalysis.cpp:228 It ignores every argument because they are vectors of pointers, not pointers. I'm surprised this has not broken anything before. It will never say...
2016 Aug 29
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
...ly a bug in AA. >> >> 225 for (auto I = CS2.arg_begin(), E = CS2.arg_end(); I != E; >> ++I) { >> 226 const Value *Arg = *I; >> 227 if (!Arg->getType()->isPointerTy()) >> -> 228 continue; >> 229 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); >> 230 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, >> CS2ArgIdx, TLI); >> >> AliasAnalysis.cpp:228 >> >> It ignores every argument because they are vectors of pointers, not >> pointers. >> >&...
2016 Aug 29
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
...>>> 225 for (auto I = CS2.arg_begin(), E = CS2.arg_end(); I != E; >>> ++I) { >>> 226 const Value *Arg = *I; >>> 227 if (!Arg->getType()->isPointerTy()) >>> -> 228 continue; >>> 229 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); >>> 230 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, >>> CS2ArgIdx, TLI); >>> >>> AliasAnalysis.cpp:228 >>> >>> It ignores every argument because they are vectors of pointers, not >>&...
2016 Aug 30
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
...227 if (!Arg->getType()->isPointerTy()) > > > > > > > > > > > > > > > > > > > > > -> 228 continue; > > > > > > > > > > > > > > > > > > > > > 229 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); > > > > > > > > > > > > > > > > > > > > > 230 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, > > > > > > CS2ArgIdx, > > > > > > TLI); > > > &gt...
2016 Aug 31
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
...CS2.arg_end(); I != E; >>>>>> ++I) { >>>>>> 226 const Value *Arg = *I; >>>>>> 227 if (!Arg->getType()->isPointerTy()) >>>>>> -> 228 continue; >>>>>> 229 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), I); >>>>>> 230 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, >>>>>> CS2ArgIdx, TLI); >>>>>> >>>>>> AliasAnalysis.cpp:228 >>>>>> >>>>>> It ig...
2016 Aug 31
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
...>>>>>>> E; ++I) { >>>>>>> 226 const Value *Arg = *I; >>>>>>> 227 if (!Arg->getType()->isPointerTy()) >>>>>>> -> 228 continue; >>>>>>> 229 unsigned CS2ArgIdx = std::distance(CS2.arg_begin(), >>>>>>> I); >>>>>>> 230 auto CS2ArgLoc = MemoryLocation::getForArgument(CS2, >>>>>>> CS2ArgIdx, TLI); >>>>>>> >>>>>>> AliasAnalysis.cpp:228 >>&g...
2016 Aug 29
2
GVN / Alias Analysis issue with llvm.masked.scatter/gather intrinsics
Hello everyone, I think I have found an gvn / alias analysis related bug, but before opening an issue on the tracker I wanted to see if I am missing something. I have the following testcase: define spir_kernel void @test(<2 x i32*> %in1, <2 x i32*> %in2, i32* %out) { > entry: > ; Just some temporary storage > %tmp.0 = alloca i32 > %tmp.1 = alloca i32 > %tmp.i =