[Orc] Fix sret/byval attributes in test (NFC)
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 20 Jul 2021 18:45:18 +0000 (20:45 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 20 Jul 2021 18:47:15 +0000 (20:47 +0200)
commita7f183afe7cc792c50d64b3b9ea22269c87ec35f
tree99ae9f25caa69aa6c4443c6fb35fac0df5e51b69
parent4e92962127a30ee8958858b9a354490ba36924b2
[Orc] Fix sret/byval attributes in test (NFC)

This was placing sret/byval attributes without type argument on
non-pointer arguments. Make this valid IR by using pointer
arguments and passing the corresponding attribute type argument.
llvm/unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp