[PATCH] Avoid FP conversions when calling bitcasted / alias functions

Matt Arsenault Matthew.Arsenault at amd.com
Mon Jul 29 14:43:58 PDT 2013


  Only allow bitcasts. Change the tests that were checking for the ext / trunc / pointer <-> int conversions.

Hi baldrick,

http://llvm-reviews.chandlerc.com/D1058

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1058?vs=3045&id=3056#toc

Files:
  include/llvm/IR/InstrTypes.h
  lib/IR/Instructions.cpp
  lib/Transforms/InstCombine/InstCombineCalls.cpp
  test/Transforms/InstCombine/2008-01-06-BitCastAttributes.ll
  test/Transforms/InstCombine/2008-01-06-VoidCast.ll
  test/Transforms/InstCombine/apint-call-cast-target.ll
  test/Transforms/InstCombine/bitcast-alias-function.ll
  test/Transforms/InstCombine/call-cast-target.ll
  test/Transforms/InstCombine/call.ll
  unittests/IR/InstructionsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1058.4.patch
Type: text/x-patch
Size: 28615 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130729/5b34c1c6/attachment.bin>


More information about the llvm-commits mailing list