[all-commits] [llvm/llvm-project] d8fa5e: [RISCV] Apply clang_builtin_alias to overloaded bu...
Kai Wang via All-commits
all-commits at lists.llvm.org
Sun Apr 25 03:12:50 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d8fa5ef6a2972aa3d8b49a7664ba94c79b00f6d4
https://github.com/llvm/llvm-project/commit/d8fa5ef6a2972aa3d8b49a7664ba94c79b00f6d4
Author: Hsiangkai Wang <kai.wang at sifive.com>
Date: 2021-04-25 (Sun, 25 Apr 2021)
Changed paths:
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vaadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoand.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamomax.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamomin.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoswap.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vamoxor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vand.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vasub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vdiv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfclass.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfcvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfdiv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfirst.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmacc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmax.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmerge.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmin.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmsac.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmul.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfmv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfncvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmacc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmsac.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfnmsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrdiv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrec7.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmax.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredmin.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfredsum.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsqrt7.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfrsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsgnj.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfslide1down.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfslide1up.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsqrt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwcvt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmacc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmsac.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwmul.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwnmacc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwnmsac.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwredsum.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vfwsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vid.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/viota.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vle.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vloxei.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vlse.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vluxei.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmacc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmadc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmand.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmax.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmerge.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfeq.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfge.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfgt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfle.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmflt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmfne.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmin.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnand.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmnor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbf.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmseq.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsgt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsif.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsle.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmslt.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsne.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsof.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmul.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmv.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmxnor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmxor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnclip.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vneg.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnmsac.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnmsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnot.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnsra.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnsrl.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vpopc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredand.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmax.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredmin.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredsum.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vredxor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrem.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrgather.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vrsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsbc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vse.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsext.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslide1down.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslide1up.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslidedown.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vslideup.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsll.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsmul.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsra.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsrl.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssra.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssrl.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwadd.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmacc.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmul.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwredsum.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwsub.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vxor.c
M clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vzext.c
M clang/utils/TableGen/RISCVVEmitter.cpp
Log Message:
-----------
[RISCV] Apply clang_builtin_alias to overloaded builtins.
We only apply `clang_builtin_alias` to non-masked builtins.
Masked builtins could not use `clang_builtin_alias` because the
operand order is different between overloaded intrinsics and builtins.
A bunch of test cases need to be updated.
Differential Revision: https://reviews.llvm.org/D100658
More information about the All-commits
mailing list