[llvm] [X86][SelectionDAG] - Add support for llvm.canonicalize intrinsic (PR #106370)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 28 18:47:12 PDT 2024


================
@@ -0,0 +1,210 @@
+; RUN: llc --mcpu=sapphirerapids -mtriple=x86_64 < %s | FileCheck %s
+
+define float @canon_fp32() {
----------------
wzssyqa wrote:

Is it possible to test a case with a variable argument?
such as

```
define float @canon_fp32(float %a) {
  ...
}
```

https://github.com/llvm/llvm-project/pull/106370


More information about the llvm-commits mailing list