Duncan Sands
0ac8473db0
Test that a landingpad gets the name provided when it was created (see commit
...
170318).
llvm-svn: 170886
2012-12-21 12:03:03 +00:00
Michael Ilseman
65f1435a6f
Reorganize FastMathFlags to be a wrapper around unsigned, and streamline some interfaces.
...
llvm-svn: 169712
2012-12-09 21:12:04 +00:00
Chandler Carruth
130cec21b9
Sort the #include lines for unittest/...
...
llvm-svn: 169250
2012-12-04 10:23:08 +00:00
Michael Ilseman
05d3bf77a1
copyFastMathFlags utility and test case
...
llvm-svn: 168943
2012-11-29 21:25:12 +00:00
Michael Ilseman
37018f8322
Whoops, fixed bad merge
...
llvm-svn: 168816
2012-11-28 21:21:18 +00:00
Michael Ilseman
1833e000a3
Fixed bad test case
...
llvm-svn: 168815
2012-11-28 21:19:52 +00:00
Michael Ilseman
018530268d
Fast-math: IRBuilder test for creating instructions with fast-math flags
...
llvm-svn: 168814
2012-11-28 21:17:34 +00:00
Evgeniy Stepanov
ef94169938
Add IRBuilderBase::getIntPtrTy.
...
llvm-svn: 167111
2012-10-31 09:50:01 +00:00
Chandler Carruth
f5fe556c70
Add support for attaching branch weight metadata directly from the IRBuilder.
...
Added a basic unit test for this with CreateCondBr. I didn't go all the
way and test the switch side as the boilerplate for setting up the
switch IRBuilder unit tests is a lot more. Fortunately, the two share
all the interesting code paths.
llvm-svn: 160251
2012-07-16 07:45:06 +00:00
Chandler Carruth
b39c55f4be
Add a boring bit of boilerplate to start testing IRBuilder::CreateCondBr.
...
This is in anticipation of changing CreateCondBr and wanting to test
those changes.
llvm-svn: 160250
2012-07-16 07:44:51 +00:00
Chandler Carruth
ebabadf933
Move the IRBuilder unittest from Support to VMCore. This got missed in
...
the original move of IRBuilder.
llvm-svn: 160249
2012-07-16 07:44:45 +00:00