Category tech

Posts: 3

Basic Block Arguments

SSA form Static Single Assignment is popular in compiler intermediate representations. Since SSA has no mutable variables, phi functions are an important feature. Let’s take a look at an alternative to phi functions: basic block arguments....

IEEE 754-2008 minNum and maxNum

The IEEE 754-2008 standard for floating-point arithmetic defines minNum(x, y) and maxNum(x, y) functions that compute the minimum and maximum of two floating-point numbers respectively . This is simple as long as one number is greater than the...

Global Instruction Selection in LLVM

This document summarizes the design of a global instruction selector for LLVM as proposed on llvmdev. Design goals The global instruction selector is intended to replace both SelectionDAG and fast isel. These are some of the goals for a new...