Skip to content

Commit edcf131

Browse files
jsjiarsenm
andauthored
AMDGPU: Use const instead of constexpr to try fixing MSVC bot (#11085)
This is cherry-pick of 003cf29 to fix the windows build failures first. Co-authored-by: Matt Arsenault <[email protected]>
1 parent 0f889e3 commit edcf131

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIModeRegisterDefaults.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ static constexpr uint32_t HWNearestTiesToEven = FP_ROUND_ROUND_TO_NEAREST;
7777
static constexpr uint32_t HWTowardPositive = FP_ROUND_ROUND_TO_INF;
7878
static constexpr uint32_t HWTowardNegative = FP_ROUND_ROUND_TO_NEGINF;
7979

80-
constexpr uint64_t AMDGPU::FltRoundConversionTable =
80+
const uint64_t AMDGPU::FltRoundConversionTable =
8181
encodeFltRoundsTableSame(TowardZeroF32_TowardZeroF64, HWTowardZero) |
8282
encodeFltRoundsTableSame(NearestTiesToEvenF32_NearestTiesToEvenF64,
8383
HWNearestTiesToEven) |

0 commit comments

Comments
 (0)