A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/KhronosGroup/SPIRV-LLVM-Translator/commit/6dd8f2a1 below:

[Backport to 20] [SPIR-V 1.6] Support reverse translation of FPFastMa… · KhronosGroup/SPIRV-LLVM-Translator@6dd8f2a · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+3

-2

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+3

-2

lines changed Original file line number Diff line number Diff line change

@@ -1225,6 +1225,7 @@ Value *SPIRVToLLVM::transCmpInst(SPIRVValue *BV, BasicBlock *BB, Function *F) {

1225 1225

else if (BT->isTypeVectorOrScalarFloat())

1226 1226

Inst = Builder.CreateFCmp(CmpMap::rmap(OP), Op0, Op1);

1227 1227

assert(Inst && "not implemented");

1228 +

applyFPFastMathModeDecorations(BV, static_cast<Instruction *>(Inst));

1228 1229

return Inst;

1229 1230

}

1230 1231 Original file line number Diff line number Diff line change

@@ -9,7 +9,7 @@

9 9

; RUN: llvm-spirv %t.bc --spirv-max-version=1.6 -o %t.spv

10 10

; RUN: spirv-val %t.spv

11 11

; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.rev.ll

12 -

; FileCheck < %t.rev.ll %s --check-prefix=CHECK-LLVM-16

12 +

; RUN: FileCheck < %t.rev.ll %s --check-prefix=CHECK-LLVM-16

13 13 14 14

; CHECK-SPIRV: 3 Name [[#r1:]] "r1"

15 15

; CHECK-SPIRV: 3 Name [[#r2:]] "r2"

Original file line number Diff line number Diff line change

@@ -5,7 +5,7 @@

5 5

; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM

6 6 7 7

; RUN: llvm-spirv -spirv-text %t.bc --spirv-max-version=1.6

8 -

; FileCheck < %t.spt %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-16

8 +

; RUN: FileCheck < %t.spt %s --check-prefixes=CHECK-SPIRV,CHECK-SPIRV-16

9 9

; RUN: llvm-spirv %t.bc --spirv-max-version=1.6 -o %t.spv

10 10

; RUN: spirv-val %t.spv

11 11

; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o - | FileCheck %s --check-prefix=CHECK-LLVM-16

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4