Skip to content

Commit

Permalink
fixup! [AIE2] Replace bfloat16 class with typedef __b16.
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantinschwarz committed Jul 18, 2024
1 parent c5b010f commit f6306d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clang/test/CodeGen/aie/aie2/bfloat16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,7 @@ bfloat16 operator_neg(bfloat16 a) {

// CHECK-LABEL: @_Z13bfloat16_div0u6__bf16(
// CHECK-NEXT: entry:
// CHECK-NEXT: [[EXT:%.*]] = fpext bfloat [[ARG:%.*]] to float
// CHECK-NEXT: [[DIV:%.*]] = fdiv float 0.000000e+00, [[EXT]]
// CHECK-NEXT: [[UNPROMOTION:%.*]] = fptrunc float [[DIV]] to bfloat
// CHECK-NEXT: [[UNPROMOTION:%.*]] = fdiv bfloat 0xR0000, [[ARG:%.*]]
// CHECK-NEXT: ret bfloat [[UNPROMOTION]]
//
bfloat16 bfloat16_div0(bfloat16 arg) {
Expand Down

0 comments on commit f6306d8

Please sign in to comment.