[PATCH] D107567: [AArch64] provide strictfp attributes in test file
Simon Wallis via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 26 08:57:15 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc4dc81eeabdb: [AArch64] provide strictfp attributes in test file (authored by simonwallis2).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D107567/new/
https://reviews.llvm.org/D107567
Files:
llvm/test/CodeGen/AArch64/fptosi-strictfp.ll
Index: llvm/test/CodeGen/AArch64/fptosi-strictfp.ll
===================================================================
--- llvm/test/CodeGen/AArch64/fptosi-strictfp.ll
+++ llvm/test/CodeGen/AArch64/fptosi-strictfp.ll
@@ -2,22 +2,24 @@
target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
target triple = "aarch64-arm-none-eabi"
-define i128 @test_fixtfti(fp128 %ld) {
+define i128 @test_fixtfti(fp128 %ld) #0 {
; CHECK-LABEL: test_fixtfti:
; CHECK: bl __fixtfti
entry:
- %conv = call i128 @llvm.experimental.constrained.fptosi.i128.f128(fp128 %ld, metadata !"fpexcept.strict")
+ %conv = call i128 @llvm.experimental.constrained.fptosi.i128.f128(fp128 %ld, metadata !"fpexcept.strict") #0
ret i128 %conv
}
declare i128 @llvm.experimental.constrained.fptosi.i128.f128(fp128, metadata)
-define i128 @test_fixtftu(fp128 %ld) {
+define i128 @test_fixtftu(fp128 %ld) #0 {
; CHECK-LABEL: test_fixtftu:
; CHECK: bl __fixunstfti
entry:
- %conv = call i128 @llvm.experimental.constrained.fptoui.i128.f128(fp128 %ld, metadata !"fpexcept.strict")
+ %conv = call i128 @llvm.experimental.constrained.fptoui.i128.f128(fp128 %ld, metadata !"fpexcept.strict") #0
ret i128 %conv
}
declare i128 @llvm.experimental.constrained.fptoui.i128.f128(fp128, metadata)
+
+attributes #0 = { strictfp }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D107567.368902.patch
Type: text/x-patch
Size: 1325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210826/3c864064/attachment.bin>
More information about the llvm-commits
mailing list