[PATCH] add a cl::opt override for TargetLowering's JumpIsExpensive

Sanjay Patel spatel at rotateright.com
Tue Jun 30 11:37:07 PDT 2015


Hi hfinkel, chandlerc,

This patch is not intended to change existing codegen behavior for any target. It just exposes the JumpIsExpensive setting on the command-line to allow for easier testing and emergency overrides.

Also, change the existing regression test to use FileCheck, explicitly specify the jump-is-expensive option, and use more precise checks.

http://reviews.llvm.org/D10846

Files:
  include/llvm/Target/TargetLowering.h
  lib/CodeGen/TargetLoweringBase.cpp
  test/CodeGen/X86/or-branch.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10846.28801.patch
Type: text/x-patch
Size: 3618 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150630/0d0fdbb9/attachment.bin>


More information about the llvm-commits mailing list