fix(clover): FTBFS: Added missing include for ConstantInt for LLVM 15
authorKai Wasserbäch <kai@dev.carbon-project.org>
Thu, 3 Mar 2022 14:17:07 +0000 (15:17 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Mar 2022 20:08:13 +0000 (20:08 +0000)
commita5884df949e6c33329add11d606b3287dd497293
treedecbca4f938a52c3fb1f834d234dc9e81e65e6ca
parent36d38b438618aef508263e4da5a5c6e17d8f567b
fix(clover): FTBFS: Added missing include for ConstantInt for LLVM 15

With LLVM 15 the include of llvm/IR/Constants.h is required for
ConstantInt.

This commit fixes an FTBFS.

Cc: mesa-stable
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15232>
src/gallium/frontends/clover/llvm/metadata.hpp