1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -passes=reassociate,instcombine -S | FileCheck %s
4 define i32 @test1(i32 %A, i32 %B) {
6 ; CHECK-NEXT: [[Z:%.*]] = add i32 [[B:%.*]], [[A:%.*]]
7 ; CHECK-NEXT: ret i32 [[Z]]