mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
f5f0a1fe0d
an emulated one. Adjust the check. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64236 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
215 B
C
12 lines
215 B
C
// RUN: %llvmgcc %s -S -o - -O | grep i33
|
|
// PR1721
|
|
|
|
struct s {
|
|
unsigned long long u33: 33;
|
|
} a, b;
|
|
|
|
// This should turn into a real 33-bit add, not a 64-bit add.
|
|
_Bool test(void) {
|
|
return a.u33 + b.u33 != 0;
|
|
}
|