[PATCH] D87528: Enable '#pragma STDC FENV_ACCESS' in frontend
dmajor via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 27 08:57:54 PDT 2020
dmajor added a comment.
After this commit our bots have a failure on the wasm target, could you please take a look?
test.c:
double a, b;
c() {
#pragma STDC FENV_ACCESS ON
b == a;
}
Run `clang -cc1 -triple wasm32-unknown-wasi -emit-obj test.c` (clang needs to be build with `-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly`)
Result:
clang: /home/vm/src/llvm-project/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp:3764: bool (anonymous namespace)::SelectionDAGLegalize::ExpandNode(llvm::SDNode *): Assertion `!IsStrict && "Don't know how to expand for strict nodes."' failed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D87528/new/
https://reviews.llvm.org/D87528
More information about the cfe-commits
mailing list