Skip to content

Commit

Permalink
solve
Browse files Browse the repository at this point in the history
Signed-off-by: Larry Gritz <lg@larrygritz.com>
  • Loading branch information
lgritz committed Sep 24, 2024
1 parent 6ca33fb commit 9ef0e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liboslexec/llvm_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,7 @@ static cspan<const char*>
get_required_cpu_features_for(TargetISA target)
{
switch (target) {
case TargetISA::UNKNOWN:
case TargetISA::NONE: return {};
case TargetISA::x64: return required_cpu_features_by_x64;
case TargetISA::SSE4_2: return required_cpu_features_by_SSE4_2;
Expand All @@ -1315,7 +1316,6 @@ get_required_cpu_features_for(TargetISA target)
case TargetISA::AVX512: return required_cpu_features_by_AVX512;
case TargetISA::AVX512_noFMA: return required_cpu_features_by_AVX512_noFMA;
default:
print("Oh no, target was {:d}\n", static_cast<int>(target));
OSL_ASSERT(
0
&& "incomplete required cpu features for target are not specified");
Expand Down

0 comments on commit 9ef0e6c

Please sign in to comment.