diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-12-13 01:46:19 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-12-13 01:46:19 +0000 |
commit | 73ce4a6fd806c27c6cfd5786adc46df16b48bf4f (patch) | |
tree | 0cd168143a916e4e7b4486863a1036748879427e /llvm/utils/NewNightlyTest.pl | |
parent | 00a383363859ac9f20732110379dcf2ab584c0bc (diff) | |
download | bcm5719-llvm-73ce4a6fd806c27c6cfd5786adc46df16b48bf4f.tar.gz bcm5719-llvm-73ce4a6fd806c27c6cfd5786adc46df16b48bf4f.zip |
Add support for using the `!if' operator when initializing variables:
class A<bit a, bits<3> x, bits<3> y> {
bits<3> z;
let z = !if(a, x, y);
}
The variable z will get the value of x when 'a' is 1 and 'y' when a is '0'.
llvm-svn: 121666
Diffstat (limited to 'llvm/utils/NewNightlyTest.pl')
0 files changed, 0 insertions, 0 deletions