File: 2011-08-23-PerformSubCombine128.ll

package info (click to toggle)
llvm-toolchain-11 1%3A11.0.1-2~deb10u1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 995,836 kB
  • sloc: cpp: 4,767,656; ansic: 760,916; asm: 477,436; python: 170,940; objc: 69,804; lisp: 29,914; sh: 23,855; f90: 18,173; pascal: 7,551; perl: 7,471; ml: 5,603; awk: 3,489; makefile: 2,573; xml: 915; cs: 573; fortran: 503; javascript: 452
file content (18 lines) | stat: -rw-r--r-- 689 bytes parent folder | download | duplicates (28)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
; RUN: llc -mtriple=x86_64-- -O2 < %s

define void @test(i64 %add127.tr.i2686) {
entry:
  %conv143.i2687 = and i64 %add127.tr.i2686, 72057594037927935
  %conv76.i2623 = zext i64 %conv143.i2687 to i128
  %mul148.i2338 = mul i128 0, %conv76.i2623
  %add149.i2339 = add i128 %mul148.i2338, 0
  %add.i2303 = add i128 0, 170141183460469229370468033484042534912
  %add6.i2270 = add i128 %add.i2303, 0
  %sub58.i2271 = sub i128 %add6.i2270, %add149.i2339
  %add71.i2272 = add i128 %sub58.i2271, 0
  %add105.i2273 = add i128 %add71.i2272, 0
  %add116.i2274 = add i128 %add105.i2273, 0
  %shr124.i2277 = lshr i128 %add116.i2274, 56
  %add116.tr.i2280 = trunc i128 %add116.i2274 to i64
  ret void
}