[XRay] Make llvm.xray.customevent parameter type match __xray_customevent
authorFangrui Song <i@maskray.me>
Tue, 20 Jun 2023 03:38:16 +0000 (20:38 -0700)
committerFangrui Song <i@maskray.me>
Tue, 20 Jun 2023 03:38:16 +0000 (20:38 -0700)
commitdafaa8463ef6991055c2fcee799757fa46965625
treed5fdd40d02e05c24b882c3788bfa16daa97b7b80
parent3fa3cb408d8d0f1365b322262e501b6945f7ead9
[XRay] Make llvm.xray.customevent parameter type match __xray_customevent

The intrinsic has a smaller integer type than the parameter type of
builtin-function/API. Fix this similar to commit 3fa3cb408d8d0f1365b322262e501b6945f7ead9.
clang/test/CodeGen/xray-always-emit-customevent.cpp
clang/test/CodeGen/xray-customevent.cpp
clang/test/CodeGen/xray-instrumentation-bundles.cpp
llvm/include/llvm/IR/Intrinsics.td
llvm/test/CodeGen/X86/xray-custom-log.ll