llvm-project/llvm/test/Bitcode/auto_upgrade_flt_rounds.test
Qiu Chaofan a40ef656d8 [Intrinsic] Rename flt.rounds intrinsic to get.rounding
Address the inconsistency between FLT_ROUNDS_ and SET_ROUNDING SDAG
node. Rename FLT_ROUNDS_ to GET_ROUNDING and add llvm.get.rounding
intrinsic to replace flt.rounds.

Reviewed By: nikic

Differential Revision: https://reviews.llvm.org/D139507
2022-12-19 15:22:39 +08:00

5 lines
160 B
Plaintext

RUN: llvm-dis %p/Inputs/auto_upgrade_flt_rounds.bc -o - | FileCheck %s
CHECK-LABEL: define signext i32 @get_rounds()
CHECK: tail call i32 @llvm.get.rounding()