llvm-project/llvm/test/CodeGen/PowerPC/inverted-bool-compares.ll
Kai Nacke 427fb35192 [PPC] Opaque pointer migration, part 1.
The LIT test cases were migrated with the script provided by
Nikita Popov. Due to the size of the change it is split into
several parts.

Reviewed By: nemanja, amyk, nikic, PowerPC

Differential Revision: https://reviews.llvm.org/D135470
2022-10-11 17:24:06 +00:00

14 lines
273 B
LLVM

; RUN: llc -verify-machineinstrs < %s -mtriple=ppc32-- | not grep xori
define i32 @test(i1 %B, ptr %P) {
br i1 %B, label %T, label %F
T: ; preds = %0
store i32 123, ptr %P
ret i32 0
F: ; preds = %0
ret i32 17
}