aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Index/single-file-parse-undefined-function-like-macro.c
diff options
context:
space:
mode:
authorAndres-Salamanca <andrealebarbaritos@gmail.com>2025-07-29 10:31:40 -0500
committerGitHub <noreply@github.com>2025-07-29 10:31:40 -0500
commita5db2c28443559f5a19f76f9a91ef3280231a969 (patch)
tree88fa5295d2e0ee0d68f3dc4faed8c6a4b17fc880 /clang/test/Index/single-file-parse-undefined-function-like-macro.c
parent860b1e68ea180672d0e02fa8328f4a7c45e16f0f (diff)
downloadllvm-a5db2c28443559f5a19f76f9a91ef3280231a969.zip
llvm-a5db2c28443559f5a19f76f9a91ef3280231a969.tar.gz
llvm-a5db2c28443559f5a19f76f9a91ef3280231a969.tar.bz2
[CIR] Add support for -ffine-grained-bitfield-accesses (#150687)
This PR adds support for `-ffine-grained-bitfield-accesses`. I reused the tests from classic CodeGen, available here: [https://github.com/llvm/llvm-project/blob/c2c881fcc85e0c2d7a050b0199d4dadf8f556b9e/clang/test/CodeGenCXX/finegrain-bitfield-access.cpp](https://github.com/llvm/llvm-project/blob/c2c881fcc85e0c2d7a050b0199d4dadf8f556b9e/clang/test/CodeGenCXX/finegrain-bitfield-access.cpp) We produce almost exactly the same codegen, except when returning a variable: we emit an extra variable to hold the return value, whereas classic CodeGen does not. Also, the GEP instructions use slightly different syntax compared to classic CodeGen.
Diffstat (limited to 'clang/test/Index/single-file-parse-undefined-function-like-macro.c')
0 files changed, 0 insertions, 0 deletions