mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
This feature is needed in order to support shifts of more than 255 bits on large integer types. This changes the syntax for llvm assembly to make shl, ashr and lshr instructions look like a binary operator: shl i32 %X, 1 instead of shl i32 %X, i8 1 Additionally, this should help a few passes perform additional optimizations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33776 91177308-0d34-0410-b5e6-96231b3b80d8
5 lines
155 B
Plaintext
5 lines
155 B
Plaintext
; Found by inspection of the code
|
|
; RUN: llvm-as 2>&1 < %s > /dev/null | grep "Logical operator requires integral"
|
|
|
|
global i32 ashr (float 1.0, float 2.0)
|