[polly] r249544 - IRBuilder: Ensure we do not add empty map elements

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 06:37:24 PDT 2015


On 10/07/2015 03:20 PM, Johannes Doerfert wrote:
> What about if(Map.lookup(Key))?
>
> If nullptr is an invalid value that works and is shorter/easier than find/end.

Good point: r249545

Tobias


More information about the llvm-commits mailing list