We already recognize the __builtin versions of these, might as well
recognize the libcall version.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Code change LGTM - see inline for a question about the testing.
clang/test/CodeGen/complex-libcalls.c | ||
---|---|---|
115–119 | Could we use positive matches for "fneg" here rather than NOT lines? If so, then do we need the new test file? |
clang/test/CodeGen/complex-libcalls.c | ||
---|---|---|
115–119 | All of the CHECK lines are in the declaration part of the file after the function body. They aren’t checking the call site code. I could add new functions for the conj calls and check them earlier? |
Could we use positive matches for "fneg" here rather than NOT lines? If so, then do we need the new test file?