#
2f13fbfc |
| 05-Nov-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Support bitcasting into float fields (#114825)
|
#
2588b8be |
| 04-Nov-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement bitcasts to composite types (#114776)
Only fixed-size, non-bitfield integral fields for now.
|
#
ef2a104c |
| 31-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Start implementing __builtin_bit_cast (#112126)
This is a subset of #68288, with hopefully narrower scope. It does not
support bitcasting to non-integral types yet.
Bitfields are
[clang][bytecode] Start implementing __builtin_bit_cast (#112126)
This is a subset of #68288, with hopefully narrower scope. It does not
support bitcasting to non-integral types yet.
Bitfields are supported, but only if they result in a full byte-sized
final buffer. It does not support casting from null-pointers yet or
casting from indeterminate bits.
The tests are from #68288 and partially from #74775.
The `BitcastBuffer` struct is currently always working in single bits,
but I plan to (try to) optimize this for the common full-byte case.
show more ...
|
Revision tags: llvmorg-19.1.3 |
|
#
9ae41c24 |
| 22-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Create dummy pointers for non-reference DeclRefExprs (#113202)
... with non-constant initializers.
|
#
159f2530 |
| 21-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Diagnose invalid declrefs differently if we've... (#113140)
... tried their initializer already. In that case, diagnose the
non-const initializer instead of the reference to a non
[clang][bytecode] Diagnose invalid declrefs differently if we've... (#113140)
... tried their initializer already. In that case, diagnose the
non-const initializer instead of the reference to a non-constexpr
variable later. This is used in a lot of openmp tests.
show more ...
|
#
df8b7858 |
| 21-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Narrow pointer in UO_Deref unary operators (#113089)
Otherwise we treat this like an array element even though we should
treat it as a single object.
|
#
3eaf4a9d |
| 18-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Check for memory leaks after destroying global scope (#112868)
The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can'
[clang][bytecode] Check for memory leaks after destroying global scope (#112868)
The global scope we create when evaluating expressions might free some
of the dynamic memory allocations, so we can't check for memory leaks
before destroying it.
show more ...
|
#
9d0616ce |
| 18-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Ignore explicit calls to trivial dtors (#112841)
This is what the current interpreter does as well.
|
Revision tags: llvmorg-19.1.2 |
|
#
51d0e40c |
| 15-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix __builtin_convertvector with float-cast (#112238)
Comparing their PrimTypes isn't enough in this case. We can have a
floating cast here as well.
|
#
4c78c8cc |
| 14-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix discarding block expressions (#112185)
|
#
ff04bb8f |
| 11-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Use PredefinedExpr as base for its variable (#111956)
This fixes the error message generated.
|
#
36b07077 |
| 11-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Return an lvalue path for dummy pointers (#111862)
Not doing this is wrong in general and we need to reject expressions
where it would matter differently.
|
#
55d51dd9 |
| 10-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Fix temporary lvalue base expression (#111808)
We need to use the MaterializeTemporaryExpr here so the checks in
ExprConstant.cpp do the right thing.
|
#
f93258e4 |
| 10-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Diagnose class-specific operator delete calls (#111700)
|
#
fed8695b |
| 09-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Emit better diagnostic for invalid shufflevector index (#111643)
|
#
c5741803 |
| 05-Oct-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle UETT_OpenMPRequiredSimdAlign (#111259)
|
Revision tags: llvmorg-19.1.1 |
|
#
3c851027 |
| 30-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Handle DiscardResult for fixed-point literals (#110475)
|
#
dc6e4805 |
| 30-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Cast fixed-point cmp result to int if necessary (#110469)
This is the case in C.
|
#
6f04e65c |
| 29-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement fixed-point shifts (#110429)
|
#
5c811ccc |
| 29-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement more binary operators for fixed point types (#110423)
|
#
95ce78b7 |
| 29-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement fixed-point-to-int casts (#110417)
And some cleanups around overflow handling.
|
#
1714b113 |
| 29-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytcode] Convert Fixed Point values to target semantics... (#110411)
... after a binary operation. The Result of the operation is in the
common semantics of RHS and LHS, so we need to conve
[clang][bytcode] Convert Fixed Point values to target semantics... (#110411)
... after a binary operation. The Result of the operation is in the
common semantics of RHS and LHS, so we need to convert that to the
semantics of the BinaryOperator expression.
show more ...
|
#
c2a37e41 |
| 29-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement fixed point casts (#110409)
|
#
defead4d |
| 29-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement fixed-point add (#110405)
|
#
3a5b9da1 |
| 28-Sep-2024 |
Timm Baeder <tbaeder@redhat.com> |
[clang][bytecode] Implement fixed-point-to-float casts (#110369)
|