HomePhabricator

Fix non-conformance it `std::tuple`.

Authored by EricWF on Jul 12 2019, 4:01 PM.

Description

Fix non-conformance it std::tuple.

Previously we implemented all one trillion tuple-like constructors using
a single generic overload. This worked fairly well, except that it
differed in behavior from the standard version because it didn't
consider both T&& and T const&. This was observable for certain
types.

This patch addresses that issue by splitting the generic constructor
in two. We now provide both T&& and T const& versions of the
tuple-like constructors (sort of).

llvm-svn: 365973

Details

Committed
EricWFJul 12 2019, 4:01 PM
Parents
rG1dfae6fe505f: [AMDGPU] use v32f32 for 3 mfma intrinsics
Branches
Unknown
Tags
Unknown