[LLVMdev] DataLayout missing in isDereferenceablePointer()

Ramkumar Ramachandra artagnon at gmail.com
Sun Feb 8 22:14:06 PST 2015


Eric Christopher wrote:
> How are you trying to call it? Do you have a DataLayout?

In test/Analysis/ValueTracking/memory-dereferenceable.ll, just change
byval to dereferenceable(8), and %dparam won't match (see
lib/IR/Value.cpp:521 for the logic that is supposed to fire). How do I
get it to pass? I tried introducing a target-triple and
target-datalayout, but it didn't help.



More information about the llvm-dev mailing list