commit | 16090d5d9938f3a5631595e1df43c8a14fd7dbe7 | [log] [tgz] |
---|---|---|
author | Erich Keane <ekeane@nvidia.com> | Wed Oct 01 07:42:37 2025 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Oct 01 07:45:09 2025 -0700 |
tree | 9bb563236ea819026d9b0a0c30c50c111c012c33 | |
parent | 1097286a093e5b260188e722235cfa7bb3b63403 [diff] |
[OpenACC] Remove unnecessary uses of `getResult`, fix cast tests (#161526) A previous review comment pointed out that operations with only a single result implicitly convert to `mlir::Value`. This patch removes the explicit use of `getResult` where it is unnecessary in OpenACC lowering. However, there ARE a few cases where it is necessary where the `mlir::ValueRange` implicit constructor from a single value is being used, so those are untouched. Additionally, while the previous patch was being committed (#161382), a second patch (#161431) changed the format of cir.casts, so this patch fixes the additional test lines for that as well. GitOrigin-RevId: 13ce5f249ed911971fe899e318d08765399d8ce1
Welcome to Clang.
This is a compiler front-end for the C family of languages (C, C++ and Objective-C) which is built as part of the LLVM compiler infrastructure project.
Unlike many other compiler frontends, Clang is useful for a number of things beyond just compiling code: we intend for Clang to be host to a number of different source-level tools. One example of this is the Clang Static Analyzer.
If you're interested in more (including how to build Clang) it is best to read the relevant websites. Here are some pointers:
Information on Clang: http://clang.llvm.org/
Building and using Clang: http://clang.llvm.org/get_started.html
Clang Static Analyzer: http://clang-analyzer.llvm.org/
Information on the LLVM project: http://llvm.org/
If you have questions or comments about Clang, a great place to discuss them is on the Clang forums:
If you find a bug in Clang, please file it in the LLVM bug tracker: