I found these by asserting in clang for any GCCBuiltin that doesn't
require mangling and requires a constant for the builtin. This means
that intrinsics are missing which don't use GCCBuiltin, don't have
builtins defined in clang, or were missing the constant annotation in
the builtin definition.
Details
- Reviewers
rovka rs t.p.northover
Diff Detail
Event Timeline
Can you explain why this is relevant only for GCC builtins that don't require mangling? Otherwise LGTM.
include/llvm/IR/IntrinsicsARM.td | ||
---|---|---|
317 | I think these should also have immediate arguments, at least according to https://reviews.llvm.org/source/clang/browse/cfe/trunk/test/Sema/builtins-arm.c Is there any reason why we should skip them? (I can see that they're just Intrinsic as opposed to GCCBuiltin, and the commit message says they wouldn't be included, but I don't really understand why you chose only GCCBuiltins). |
include/llvm/IR/IntrinsicsARM.td | ||
---|---|---|
317 | My assert method can only find the cases that use GCCBuiltin, All intrinsics with this constraint need it, but those require manually auditing |
I think these should also have immediate arguments, at least according to https://reviews.llvm.org/source/clang/browse/cfe/trunk/test/Sema/builtins-arm.c
Is there any reason why we should skip them? (I can see that they're just Intrinsic as opposed to GCCBuiltin, and the commit message says they wouldn't be included, but I don't really understand why you chose only GCCBuiltins).