Revert "[Support] Workaround compiler bug in MSVC"

This reverts commit ec8f4fd68c.

This caused a failure in the mlir-windows bot.
This commit is contained in:
Tom Stellard 2022-07-26 15:49:35 -07:00
parent 66d755bbf8
commit fd84d97ba6
1 changed files with 0 additions and 6 deletions

View File

@ -262,11 +262,5 @@ size_t llvm::getDefaultPrecision(FloatStyle Style) {
case FloatStyle::Percent:
return 2; // Number of decimal places.
}
// Workaround for MSVC bug in VS2022:
// https://developercommunity.visualstudio.com/t/Prev-Issue---with-__assume-isnan-/1597317
// llvm_unreachable expands to __assume(false) with MSVC which triggers the
// bug.
#ifndef _MSC_VER
llvm_unreachable("Unknown FloatStyle enum");
#endif
}