18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py2; RUN: llc < %s -mtriple=i386-unknown-unknown | FileCheck %s3 4@value1 = external hidden constant i325 6define i32 @function(i32 %arg1) {7; CHECK-LABEL: function:8; CHECK: # %bb.0: # %entry9; CHECK-NEXT: movl $value1, %eax10; CHECK-NEXT: xorl {{[0-9]+}}(%esp), %eax11; CHECK-NEXT: negl %eax12; CHECK-NEXT: retl13entry:14 %0 = xor i32 %arg1, xor (i32 ptrtoint (ptr @value1 to i32), i32 -1)15 %.neg = add i32 %0, 116 ret i32 %.neg17}18