diff options
| author | Jessica Paquette <jpaquette@apple.com> | 2019-01-30 20:49:50 +0000 |
|---|---|---|
| committer | Jessica Paquette <jpaquette@apple.com> | 2019-01-30 20:49:50 +0000 |
| commit | 04a83a4caed15ae544b23976d3d4d55483fba8a6 (patch) | |
| tree | 2053feea698e9542c76e8c5f8c6f964a3f2e721e /llvm/test | |
| parent | 5cdc91d003e3476d5348e13d7b2cad1a3b9e2c1f (diff) | |
| download | bcm5719-llvm-04a83a4caed15ae544b23976d3d4d55483fba8a6.tar.gz bcm5719-llvm-04a83a4caed15ae544b23976d3d4d55483fba8a6.zip | |
[GlobalISel] Introduce a G_FSQRT generic instruction
This introduces a generic instruction for computing the floating point
square root of a value.
Right now, we can't select @llvm.sqrt, so this is working towards fixing that.
llvm-svn: 352668
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir b/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir index cf4842caeb2..aea743ba611 100644 --- a/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir +++ b/llvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir @@ -338,6 +338,9 @@ # # DEBUG-NEXT: G_FSIN (opcode {{[0-9]+}}): 1 type index # DEBUG: .. the first uncovered type index: 1, OK +# +# DEBUG-NEXT: G_FSQRT (opcode {{[0-9]+}}): 1 type index +# DEBUG: .. the first uncovered type index: 1, OK # CHECK-NOT: ill-defined |

