Skip to content

Commit 1d07dc9

Browse files
committed
Address comments.
1 parent 2e7aea3 commit 1d07dc9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

llvm/lib/Support/APFloat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5619,7 +5619,7 @@ static constexpr int getFEnvRoundingMode(llvm::RoundingMode rm) {
56195619
}
56205620

56215621
APFloat exp(const APFloat &X, RoundingMode rounding_mode) {
5622-
if (&X.getSemantics() == (const llvm::fltSemantics *)&semIEEEsingle) {
5622+
if (&X.getSemantics() == &semIEEEsingle) {
56235623
float result = LIBC_NAMESPACE::shared::expf(
56245624
X.convertToFloat(), getFEnvRoundingMode(rounding_mode));
56255625
return APFloat(result);

llvm/lib/Support/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,5 @@ target_include_directories(LLVMSupport
386386
)
387387

388388
# Integrating LLVM libc's math functions
389-
set_property(TARGET LLVMSupport PROPERTY CXX_STANDARD 17)
390389
target_include_directories(LLVMSupport PRIVATE "${LLVM_INCLUDE_DIR}/../../libc")
391390
target_compile_options(LLVMSupport PRIVATE "-Wno-c99-extensions") # _Complex warnings.

0 commit comments

Comments
 (0)