summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-04-30 18:20:33 +0000
committerSanjay Patel <spatel@rotateright.com>2018-04-30 18:20:33 +0000
commit1babf5ff32898056a8c63b4de9efb1cc24ea1a3b (patch)
tree6ffd18063fe56fda16ad51aca426356a7a360453 /llvm/test
parentc81450e29b0072e1702704e26cc6083c43a6bfc3 (diff)
downloadbcm5719-llvm-1babf5ff32898056a8c63b4de9efb1cc24ea1a3b.tar.gz
bcm5719-llvm-1babf5ff32898056a8c63b4de9efb1cc24ea1a3b.zip
[DAGCombiner] rename function attribute for disabling ftrunc transform
This is the matching name change for the Clang patch at: D46236 rL331209 Differential Revision: https://reviews.llvm.org/D46237 llvm-svn: 331210
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/X86/ftrunc.ll7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/X86/ftrunc.ll b/llvm/test/CodeGen/X86/ftrunc.ll
index 356de29e591..74f1022f311 100644
--- a/llvm/test/CodeGen/X86/ftrunc.ll
+++ b/llvm/test/CodeGen/X86/ftrunc.ll
@@ -356,9 +356,8 @@ define <4 x double> @trunc_signed_v4f64(<4 x double> %x) nounwind {
ret <4 x double> %r
}
-; The attribute name is subject to change, but the fold may be
-; guarded to allow existing code to continue working based on its
-; assumptions of float->int overflow.
+; The fold may be guarded to allow existing code to continue
+; working based on its assumptions of float->int overflow.
define float @trunc_unsigned_f32_disable_via_attr(float %x) #1 {
; SSE2-LABEL: trunc_unsigned_f32_disable_via_attr:
@@ -413,5 +412,5 @@ define double @trunc_signed_f64_disable_via_attr(double %x) #1 {
ret double %r
}
-attributes #1 = { nounwind "fp-cast-overflow-workaround"="true" }
+attributes #1 = { nounwind "strict-float-cast-overflow"="false" }
OpenPOWER on IntegriCloud