llvm-project/llvm/lib
Stanislav Mekhanoshin e86c8d33b1 [AMDGPU] Optimize S_CBRANCH_VCC[N]Z -> S_CBRANCH_EXEC[N]Z
Sometimes after basic block placement we end up with a code like:

  sreg = s_mov_b64 -1
  vcc = s_and_b64 exec, sreg
  s_cbranch_vccz

This happens as a join of a block assigning -1 to a saved mask and
another block which consumes that saved mask with s_and_b64 and a
branch.

This is essentially a single s_cbranch_execz instruction when moved
into a single new basic block.

Differential Revision: https://reviews.llvm.org/D54164

llvm-svn: 346690
2018-11-12 18:48:17 +00:00
..
Analysis [VectorUtils] add funnel-shifts to the list of vectorizable intrinsics 2018-11-12 15:20:14 +00:00
AsmParser [ThinLTO] Internalize readonly globals 2018-11-10 08:31:21 +00:00
BinaryFormat Revert r343317 2018-09-28 17:01:50 +00:00
Bitcode [ThinLTO] Internalize readonly globals 2018-11-10 08:31:21 +00:00
CodeGen Fix MachineInstr::findRegisterUseOperandIdx subreg checks 2018-11-12 18:12:28 +00:00
DebugInfo [DWARF] Change pubnames to use DWARFSection instead of StringRef 2018-11-11 18:57:28 +00:00
Demangle Make initializeOutputStream() return false on error and true on success. 2018-11-11 10:04:00 +00:00
ExecutionEngine [Support] Make error banner optional in logAllUnhandledErrors 2018-11-11 01:46:03 +00:00
FuzzMutate [New PM] Introducing PassInstrumentation framework 2018-09-20 17:08:45 +00:00
Fuzzer
IR [ThinLTO] Internalize readonly globals 2018-11-10 08:31:21 +00:00
IRReader
LTO [Support] Make error banner optional in logAllUnhandledErrors 2018-11-11 01:46:03 +00:00
LineEditor
Linker [ThinLTO] Internalize readonly globals 2018-11-10 08:31:21 +00:00
MC [DWARFv5] Emit normal type units in .debug_info comdats. 2018-11-09 19:06:09 +00:00
Object [Support] Make error banner optional in logAllUnhandledErrors 2018-11-11 01:46:03 +00:00
ObjectYAML [WebAssembly] Add shared memory support to limits field 2018-11-06 17:27:25 +00:00
OptRemarks Reland: [OptRemarks] Add library for parsing optimization remarks 2018-10-10 18:43:42 +00:00
Option [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
Passes Add an OptimizerLast EP 2018-11-12 11:17:07 +00:00
ProfileData Support for remapping profile data when symbols change, for sample-based 2018-10-10 21:31:01 +00:00
Support [Support] Make error banner optional in logAllUnhandledErrors 2018-11-11 01:46:03 +00:00
TableGen [TableGen] fix assert in !cast when used out of definition in a multiclass 2018-10-10 10:52:57 +00:00
Target [AMDGPU] Optimize S_CBRANCH_VCC[N]Z -> S_CBRANCH_EXEC[N]Z 2018-11-12 18:48:17 +00:00
Testing Fix error with SmallString implicit conversion. 2018-09-06 22:47:32 +00:00
ToolDrivers [opt] Change the parameter of OptTable::PrintHelp from Name to Usage and don't append "[options] <inputs>" 2018-10-10 00:15:31 +00:00
Transforms [CostModel] Add more realistic SK_ExtractSubvector generic costs. 2018-11-12 14:25:23 +00:00
WindowsManifest Convert line endings of lib/WindowsManifest/CMakeLists.txt to unix. 2018-04-07 04:28:08 +00:00
XRay [XRay] Improve FDR trace handling and error messaging 2018-11-09 06:26:48 +00:00
CMakeLists.txt Reland: [OptRemarks] Add library for parsing optimization remarks 2018-10-10 18:43:42 +00:00
LLVMBuild.txt Reland: [OptRemarks] Add library for parsing optimization remarks 2018-10-10 18:43:42 +00:00