From 1babf5ff32898056a8c63b4de9efb1cc24ea1a3b Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Mon, 30 Apr 2018 18:20:33 +0000 Subject: [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 --- llvm/test/CodeGen/X86/ftrunc.ll | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'llvm/test') 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" } -- cgit v1.2.3