]> granicus.if.org Git - clang/commit
Correct the code generation for function arguments of vec3 types on x86_64 when they...
authorTanya Lattner <tonic@nondot.org>
Mon, 28 Nov 2011 23:18:11 +0000 (23:18 +0000)
committerTanya Lattner <tonic@nondot.org>
Mon, 28 Nov 2011 23:18:11 +0000 (23:18 +0000)
commitce275675d33142c235d7027db16abe43da616ee4
treeb09458c34afd60e9aec1c01e4c4da139d96ea57d
parentad5459a67c7c04960df52d21af08b2e99af537b4
Correct the code generation for function arguments of vec3 types on x86_64 when they are greater than 128 bits. This was incorrectly coercing things like long3 into a double2.
Add test case.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145312 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetInfo.cpp
test/CodeGen/x86_64-arguments.c