diff options
author | Lone_Wolf | 2021-09-13 23:31:53 +0200 |
---|---|---|
committer | Lone_Wolf | 2021-09-13 23:31:53 +0200 |
commit | 64ceb7cfa253af230d600af4d5d72fccc2ca34b3 (patch) | |
tree | e2f9826a376d09362d2dcdd1c403365ce3738e8a /use hasParamAttr instead of hasAttribute.patch | |
parent | 017cc919ec79ee34fd286aab79caf07e0a4dc2b0 (diff) | |
download | aur-64ceb7cfa253af230d600af4d5d72fccc2ca34b3.tar.gz |
hasParamAttr issue has been partially solved, edited & renamed patch
Diffstat (limited to 'use hasParamAttr instead of hasAttribute.patch')
-rw-r--r-- | use hasParamAttr instead of hasAttribute.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/use hasParamAttr instead of hasAttribute.patch b/use hasParamAttr instead of hasAttribute.patch new file mode 100644 index 000000000000..b9e64f5fb0c7 --- /dev/null +++ b/use hasParamAttr instead of hasAttribute.patch @@ -0,0 +1,13 @@ +--- a/src/gallium/frontends/clover/llvm/codegen/common.cpp ++++ b/src/gallium/frontends/clover/llvm/codegen/common.cpp +@@ -233,8 +233,8 @@ namespace { + } + + } else { +- const bool needs_sign_ext = f.getAttributes().hasAttribute( +- arg.getArgNo() + 1, ::llvm::Attribute::SExt); ++ const bool needs_sign_ext = f.getAttributes().hasParamAttr( ++ arg.getArgNo(), ::llvm::Attribute::SExt); + + args.emplace_back(module::argument::scalar, arg_api_size, + target_size, target_align, |