mirror-llvm-project/clang/unittests/CIR
Andy Kaylor 005b3858f6
[CIR] Add fenv attribute to compare operations (#213072)
This adds the #cir.fenv attribute to the cir.cmp and cir.vec.cmp and
adds verfiers to enforce that the attribute is only present when the
comparison involves floating-point values.

The cir.vec.cmp operation has an existing folder which is skipped in
this change when the fenv attribute is present. In most circumstance,
this folding could still be done, but the implementation is
intentionally conservative at this point. Proper checking of the
conditions under which folding would be legal will be added later.

The cir.cmp operation does not currently have a folder.

Assisted-by: Cursor / various models
2026-07-30 10:55:16 -07:00
..
CallOpTest.cpp [CIR] Generalize the special member attribute into func_info and add a callee resolver (#207261) 2026-07-10 10:50:48 -07:00
CMakeLists.txt [CIR] Introduce fenv attribute for strict fp handling (#211144) 2026-07-29 14:17:08 -07:00
ControlFlowTest.cpp [CIR] Introduce loop cleanup regions (#210212) 2026-07-17 16:24:58 -07:00
FenvOpTest.cpp [CIR] Add fenv attribute to compare operations (#213072) 2026-07-30 10:55:16 -07:00
GetFloatingPointTypeTest.cpp [CIR] Add x86_64 scalar calling-convention lowering (#209636) 2026-07-17 17:02:10 -05:00
IntTypeABIAlignTest.cpp [CIR] Return power-of-two ABI alignment for non-fundamental int widths (#210187) 2026-07-17 09:07:46 -05:00
PointerLikeTest.cpp [CIR] Add custom assembly format for alloca op to fix flag parsing (#198962) 2026-06-10 17:00:34 +00:00
RecordTypeMetadataTest.cpp [CIR] Split RecordType into StructType/UnionType 2026-06-01 18:45:46 -05:00
UnionTypeSizeTest.cpp [CIR] Split RecordType into StructType/UnionType 2026-06-01 18:45:46 -05:00