]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commit
[FastISel][X86] Refactor the code to get the X86 condition from a helper function...
authorJuergen Ributzka <juergen@apple.com>
Mon, 16 Jun 2014 23:58:24 +0000 (23:58 +0000)
committerJuergen Ributzka <juergen@apple.com>
Mon, 16 Jun 2014 23:58:24 +0000 (23:58 +0000)
commit408691f9673fb69b5ed45326f6ded4f3b6f19c50
tree215ebd23bb95a3f5b16741f9da31deef80865f84
parent4046db0cdb53b5383b2234f29d0ff478f5293b4b
[FastISel][X86] Refactor the code to get the X86 condition from a helper function. NFC.

Make use of helper functions to simplify the branch and compare instruction
selection in FastISel. Also add test cases for compare and conditonal branch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211077 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
test/CodeGen/X86/fast-isel-cmp-branch2.ll [new file with mode: 0644]
test/CodeGen/X86/fast-isel-cmp.ll [new file with mode: 0644]