jhen added a comment. In https://reviews.llvm.org/D24537#541929, @jlebar wrote: > Perhaps it's worth a comment on the Device class that Device objects should be passed by value, and are cheap to copy? Good idea! Done https://reviews.llvm.org/D24537