diff options
| author | Tim Northover <tnorthover@apple.com> | 2019-08-03 14:28:34 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2019-08-03 14:28:34 +0000 |
| commit | a009a60a917bc30940422bcef73f8270566d78db (patch) | |
| tree | 585c11f151ecd35dd07677ae76c12aee922c9a7f /clang/test/CodeGen/vectorcall.c | |
| parent | 6bf861298a117f82f453021bc355a1fe38ca818b (diff) | |
| download | bcm5719-llvm-a009a60a917bc30940422bcef73f8270566d78db.tar.gz bcm5719-llvm-a009a60a917bc30940422bcef73f8270566d78db.zip | |
IR: print value numbers for unnamed function arguments
For consistency with normal instructions and clarity when reading IR,
it's best to print the %0, %1, ... names of function arguments in
definitions.
Also modifies the parser to accept IR in that form for obvious reasons.
llvm-svn: 367755
Diffstat (limited to 'clang/test/CodeGen/vectorcall.c')
| -rw-r--r-- | clang/test/CodeGen/vectorcall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/vectorcall.c b/clang/test/CodeGen/vectorcall.c index db0ba02ba39..c8e8931a084 100644 --- a/clang/test/CodeGen/vectorcall.c +++ b/clang/test/CodeGen/vectorcall.c @@ -44,7 +44,7 @@ void __vectorcall hfa3(double a, double b, double c, double d, double e, struct // Because they are not classified as homogeneous, they don't get special // handling to ensure alignment. void __vectorcall hfa4(struct HFA5 a) {} -// X32: define dso_local x86_vectorcallcc void @"\01hfa4@@40"(%struct.HFA5* byval(%struct.HFA5) align 4) +// X32: define dso_local x86_vectorcallcc void @"\01hfa4@@40"(%struct.HFA5* byval(%struct.HFA5) align 4 %0) // X64: define dso_local x86_vectorcallcc void @"\01hfa4@@40"(%struct.HFA5* %a) // Return HFAs of 4 or fewer elements in registers. |

