search for: instrreadmem

Displaying 4 results from an estimated 4 matches for "instrreadmem".

2019 Jul 24
2
Intrinsics InstrReadMem memory properties
Hello, According to include/llvm/IR/Intrinsics.td, InstrReadMem property indicates that the intrinsic only reads from and does not write to memory. Does this mean that it can read anywhere in the memory? Because we already have 'InstrArgMemOnly' for intrinsics which only access memory that its argument(s) point(s) to. If 'InstrReadMem' really...
2019 Jul 24
2
Intrinsics InstrReadMem memory properties
...> > > ________________________________________ > From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Son Tuan VU > via llvm-dev <llvm-dev at lists.llvm.org> > Sent: Wednesday, July 24, 2019 08:20 > To: llvm-devmemory > Subject: [llvm-dev] Intrinsics InstrReadMem memory properties > > Hello, > > According to include/llvm/IR/Intrinsics.td, InstrReadMem property > indicates that the intrinsic only reads from and does not write to memory. > > Does this mean that it can read anywhere in the memory? Because we already > have 'InstrArg...
2019 Jul 24
2
Intrinsics InstrReadMem memory properties
..._ > > > From: llvm-dev <llvm-dev-bounces at lists.llvm.org> on behalf of Son > Tuan VU > > > via llvm-dev <llvm-dev at lists.llvm.org> > > > Sent: Wednesday, July 24, 2019 08:20 > > > To: llvm-devmemory > > > Subject: [llvm-dev] Intrinsics InstrReadMem memory properties > > > > > > Hello, > > > > > > According to include/llvm/IR/Intrinsics.td, InstrReadMem property > > > indicates that the intrinsic only reads from and does not write to > memory. > > > > > > Does this mean that it...
2019 Jul 25
2
Intrinsics InstrReadMem memory properties
...gt; Get Outlook for Android <https://aka.ms/ghei36> > > ------------------------------ > *From:* Son Tuan VU <sontuan.vu119 at gmail.com> > *Sent:* Wednesday, July 24, 2019 6:51:10 PM > *To:* Doerfert, Johannes > *Cc:* llvm-dev > *Subject:* Re: [llvm-dev] Intrinsics InstrReadMem memory properties > > Ok, now I think I've found a bug: > > Consider this C code: > void bar(int b) { > int a[10]; > memset(a, b, 10); > } > > which generates this IR code: > define dso_local void @bar(i32 %b) #0 { > entry: > %b.addr = alloca i32, al...